Compartilhar via


OrganizationServiceContextInfo.TryGet Method (OrganizationServiceContext, Entity, EntitySetInfo)

 

Applies To: Dynamics CRM 2013

Returns an OrganizationServiceContextInfo from a custom OrganizationServiceContext class and an entity.

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

Syntax

public static bool TryGet(
    OrganizationServiceContext context,
    Entity entity,
    out EntitySetInfo entitySetInfo
)
public:
static bool TryGet(
    OrganizationServiceContext^ context,
    Entity^ entity,
    [OutAttribute] EntitySetInfo^% entitySetInfo
)
static member TryGet : 
        context:OrganizationServiceContext *
        entity:Entity *
        entitySetInfo:EntitySetInfo byref -> bool
Public Shared Function TryGet (
    context As OrganizationServiceContext,
    entity As Entity,
    <OutAttribute> ByRef entitySetInfo As EntitySetInfo
) 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