Share via


SetState Class

Definition

Creates a new entity instance.

public ref class SetState sealed : System::Activities::CodeActivity
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification="Workflow foundation classes are not marked as aptca(Without PU3).")]
public sealed class SetState : System.Activities.CodeActivity
[<System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2117:AptcaTypesShouldOnlyExtendAptcaBaseTypes", Justification="Workflow foundation classes are not marked as aptca(Without PU3).")>]
type SetState = class
    inherit CodeActivity
Public NotInheritable Class SetState
Inherits CodeActivity
Inheritance
SetState
Attributes

Constructors

SetState()

Initializes a new instance of the SetState class.

Properties

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.

State

Sets the new state for the entity record.

Status

Sets the new status that corresponds to the State property.

Applies to