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


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 service,
    int state,
    int status,
    Entity entity
static void SetState(
    OrganizationServiceContext^ service,
    int state,
    int status,
    Entity^ entity
static member SetState : 
        service:OrganizationServiceContext *
        state:int *
        status:int *
        entity:Entity -> unit
Public Shared Sub SetState (
    service As OrganizationServiceContext,
    state As Integer,
    status As Integer,
    entity As Entity



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