Compartilhar via


OrganizationServiceContextInfo.TryGet Method (Type, OrganizationServiceContextInfo)

 

Applies To: Dynamics CRM 2013

Returns an OrganizationServiceContextInfo from a custom OrganizationServiceContext class.

Namespace:   Microsoft.Xrm.Client.Metadata
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static bool TryGet(
    Type contextType,
    out OrganizationServiceContextInfo contextInfo
)
public:
static bool TryGet(
    Type^ contextType,
    [OutAttribute] OrganizationServiceContextInfo^% contextInfo
)
static member TryGet : 
        contextType:Type *
        contextInfo:OrganizationServiceContextInfo byref -> bool
Public Shared Function TryGet (
    contextType As Type,
    <OutAttribute> ByRef contextInfo As OrganizationServiceContextInfo
) As Boolean

Parameters

Return Value

Type: System.Boolean

Type: Boolean
true if there is a return value for the specified parameters; otherwise false.

See Also

TryGet Overload
OrganizationServiceContextInfo Class
Microsoft.Xrm.Client.Metadata Namespace

Return to top