Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- contextType
 Type: System.Type
- contextInfo
 Type: Microsoft.Xrm.Client.Metadata.OrganizationServiceContextInfo
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