HandleExternalEventActivity::Roles Property
.NET Framework (current version)
Gets or sets a reference to a workflow role collection.
Assembly: System.Workflow.Activities (in System.Workflow.Activities.dll)
public: property WorkflowRoleCollection^ Roles { WorkflowRoleCollection^ get(); void set(WorkflowRoleCollection^ value); }
Property Value
Type: System.Workflow.Activities::WorkflowRoleCollection^A collection of a workflow role.
The WorkflowRoleCollection limits the set of users who can send messages to a workflow instance through a HandleExternalEventActivity activity.
The following code example shows how to create and set values for the HandleExternalEventActivity class. This code example is part of the RaiseEventToLoadWorkflow SDK sample from the DocumentApprovalWorkflow.cs file. For more information, seeRaise Event To Load Workflow.
.NET Framework
Available since 3.0
Available since 3.0
HandleExternalEventActivity Class
System.Workflow.Activities Namespace
Using the HandleExternalEvent Activity
Show: