LogicalMethodTypes 枚举

定义

指定调用 XML Web services 方法的方式。

public enum class LogicalMethodTypes
public enum LogicalMethodTypes
type LogicalMethodTypes = 
Public Enum LogicalMethodTypes
继承
LogicalMethodTypes

字段

Async 2

XML Web services 方法被异步调用。

Sync 1

XML Web services 方法被同步调用。

示例

// Create a synchronous 'LogicalMethodInfo' instance.
array<MethodInfo^>^temparray = {myMethodInfo};
LogicalMethodInfo^ myLogicalMethodInfo = (LogicalMethodInfo::Create( temparray, LogicalMethodTypes::Sync ))[ 0 ];
// Create a synchronous 'LogicalMethodInfo' instance.
LogicalMethodInfo myLogicalMethodInfo =
   (LogicalMethodInfo.Create(new MethodInfo[] {myMethodInfo},
                             LogicalMethodTypes.Sync))[0];
' Create a synchronous 'LogicalMethodInfo' instance.
Dim myLogicalMethodInfo As LogicalMethodInfo = _
           LogicalMethodInfo.Create(New MethodInfo() {myMethodInfo}, LogicalMethodTypes.Sync)(0)

适用于

另请参阅