OperationInfo.IsOneWay Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets information on the operation to specify that communication between the service and a client is one-way.

Namespace:   System.Workflow.Activities
Assembly:  System.WorkflowServices (in System.WorkflowServices.dll)

public bool IsOneWay { get; set; }

Property Value

Type: System.Boolean

true if the operation supports one-way communication; otherwise, false.

The default value is false.

The following example demonstrates how to access the IsOneWay property.

OperationInfo info = new OperationInfo();
bool isOneWay = info.IsOneWay;

.NET Framework
Available since 3.5
Return to top
Show: