Επεξεργασία

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


ProtocolImporter.IsOperationFlowSupported(OperationFlow) Method

Definition

When overridden in a derived class, determines whether the current operation's operation flow is supported.

protected:
 abstract bool IsOperationFlowSupported(System::Web::Services::Description::OperationFlow flow);
protected abstract bool IsOperationFlowSupported (System.Web.Services.Description.OperationFlow flow);
abstract member IsOperationFlowSupported : System.Web.Services.Description.OperationFlow -> bool
Protected MustOverride Function IsOperationFlowSupported (flow As OperationFlow) As Boolean

Parameters

flow
OperationFlow

An OperationFlow enumeration value that represents a transmission pattern.

Returns

true if the current operation's operation flow is supported.

Remarks

When generating code, the ProtocolImporter class calls the IsOperationFlowSupported method to determine whether to generate a method for the current operation, as represented by the 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 ProtocolImporter class calls its UnsupportedOperationWarning method.

For more information, see the Flow property. The Messages property is of type OperationMessageCollection.

Applies to