SetState Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Sets the state and status of a record.

Namespace:   Microsoft.Xrm.Sdk.Workflow.Activities
Assembly:  Microsoft.Xrm.Sdk.Workflow (in Microsoft.Xrm.Sdk.Workflow.dll)

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Microsoft.Xrm.Sdk.Workflow.Activities.SetState

public sealed class SetState : CodeActivity

NameDescription
System_CAPS_pubmethodSetState()

Initializes a new instance of the SetState class.

NameDescription
System_CAPS_protpropertyCacheId

(Inherited from Activity.)

System_CAPS_pubpropertyDisplayName

(Inherited from Activity.)

System_CAPS_pubpropertyEntity

Gets the resulting entity record following the update.

System_CAPS_pubpropertyEntityId

Sets the ID of the entity record to update.

System_CAPS_pubpropertyEntityName

Set the logical name of the entity specified by the EntityId property.

System_CAPS_pubpropertyId

(Inherited from Activity.)

System_CAPS_protpropertyImplementationVersion

(Inherited from CodeActivity.)

System_CAPS_pubpropertyState

Sets the new state for the entity record.

System_CAPS_pubpropertyStatus

Sets the new status that corresponds to the State property.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Activity.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: