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

 

Applies To: Dynamics CRM 2013

Sets the state of a record. (Developer Extensions)

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

Syntax

public static void SetState(
    this OrganizationServiceContext service,
    int state,
    int status,
    Entity entity
)
public:
[ExtensionAttribute]
static void SetState(
    OrganizationServiceContext^ service,
    int state,
    int status,
    Entity^ entity
)
static member SetState : 
        service:OrganizationServiceContext *
        state:int *
        status:int *
        entity:Entity -> unit
<ExtensionAttribute>
Public Shared Sub SetState (
    service As OrganizationServiceContext,
    state As Integer,
    status As Integer,
    entity As Entity
)

Parameters

Remarks

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