LogicalMethodTypes 列舉

定義

指定如何叫用 (Invoke) XML Web Service 方法。

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

欄位

Async 2

XML Web Service 方法被非同步叫用。

Sync 1

XML Web Service 方法被同步叫用。

範例

// 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)

適用於

另請參閱