OrganizationServiceContextExtensions.SetState Method (OrganizationServiceContext, Int32, Int32, EntityReference)


Applies To: Dynamics CRM 2015

Sets the state of a record. (Developer Extensions)

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


public static void SetState(
    this OrganizationServiceContext context,
    int state,
    int status,
    EntityReference entityMoniker
static void SetState(
    OrganizationServiceContext^ context,
    int state,
    int status,
    EntityReference^ entityMoniker
static member SetState : 
        context:OrganizationServiceContext *
        state:int *
        status:int *
        entityMoniker:EntityReference -> unit
Public Shared Sub SetState (
    context As OrganizationServiceContext,
    state As Integer,
    status As Integer,
    entityMoniker As EntityReference



This is a method wrapper for the SetStateRequest and SetStateResponse classes. See the documentation in the Request class for more information about this message.

See Also

SetState Overload
OrganizationServiceContextExtensions Class
Microsoft.Xrm.Client.Messages Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright