System.Web.Services.Description.SoapProtocolImporter.IsOperationFlowSupported Method

Determines whether the current operation's operation flow is supported.

Syntax

protected override bool IsOperationFlowSupported (OperationFlow flow)

Parameters

flow
An System.Web.Services.Description.OperationFlow enumeration value that represents a transmission pattern.

Returns

true if the current operation's operation flow is supported; otherwise false.

Remarks

The SoapProtocolImporter.IsOperationFlowSupported(OperationFlow) method determines whether to generate a method for the current operation, as represented by the System.Web.Services.Description.Operation property. This evaluation takes place for each operation in a binding for which a class is being generated. If a false value is returned, the SoapProtocolImporter.UnsupportedOperationWarning(string) method executes. A true value is returned only if the input value is OperationFlow.OneWay or OperationFlow.RequestResponse.

For more information, see the OperationMessageCollection.Flow property. The Operation.Messages property is of type System.Web.Services.Description.OperationMessageCollection.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0