SetState Class
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)
Inheritance Hierarchy
System.Object
System.Activities.Activity
System.Activities.CodeActivity
Microsoft.Xrm.Sdk.Workflow.Activities.SetState
Syntax
public sealed class SetState : CodeActivity
Public NotInheritable Class SetState
Inherits CodeActivity
Constructors
Name | Description | |
---|---|---|
SetState() | Initializes a new instance of the SetState class. |
Properties
Name | Description | |
---|---|---|
CacheId | (Inherited from Activity.) |
|
DisplayName | (Inherited from Activity.) |
|
Entity | Gets the resulting entity record following the update. |
|
EntityId | Sets the ID of the entity record to update. |
|
EntityName | Set the logical name of the entity specified by the EntityId property. |
|
Id | (Inherited from Activity.) |
|
ImplementationVersion | (Inherited from CodeActivity.) |
|
State | Sets the new state for the entity record. |
|
Status | Sets the new status that corresponds to the State property. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
ToString() | (Inherited from Activity.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk.Workflow.Activities Namespace
Custom XAML workflows
Return to top
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright