Επεξεργασία

Κοινή χρήση μέσω


WebServiceInputActivity.Roles Property

Definition

Gets or sets a collection of roles that are valid to send data to the WebServiceInputActivity.

public:
 property System::Workflow::Activities::WorkflowRoleCollection ^ Roles { System::Workflow::Activities::WorkflowRoleCollection ^ get(); void set(System::Workflow::Activities::WorkflowRoleCollection ^ value); };
public System.Workflow.Activities.WorkflowRoleCollection Roles { get; set; }
member this.Roles : System.Workflow.Activities.WorkflowRoleCollection with get, set
Public Property Roles As WorkflowRoleCollection

Property Value

The WorkflowRoleCollection that contains the Web service roles that are valid to send data to the WebServiceInputActivity.

Remarks

Security access exceptions are thrown if the Web service receives a request from a non-member of the Roles collection.

The default value is an empty collection, which gives open access to the Web service.

Applies to

See also