LogicalMethodTypes 列舉

定義

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

C#
public enum LogicalMethodTypes
繼承
LogicalMethodTypes

欄位

名稱 Description
Async 2

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

Sync 1

XML Web Service 方法被同步叫用。

範例

C#
// Create a synchronous 'LogicalMethodInfo' instance.
LogicalMethodInfo myLogicalMethodInfo =
   (LogicalMethodInfo.Create(new MethodInfo[] {myMethodInfo},
                             LogicalMethodTypes.Sync))[0];

適用於

產品 版本
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

另請參閱