Export (0) Print
Expand All

LogicalMethodTypes Enumeration

Specifies how the XML Web service method was invoked.

[Visual Basic]
<Serializable>
Public Enum LogicalMethodTypes
[C#]
[Serializable]
public enum LogicalMethodTypes
[C++]
[Serializable]
__value public enum LogicalMethodTypes
[JScript]
public
   Serializable
enum LogicalMethodTypes

Members

Member name Description
Async

Supported by the .NET Compact Framework.

The XML Web service method is invoked asynchronously.
Sync

Supported by the .NET Compact Framework.

The XML Web service method is invoked synchronously.

Example

[Visual Basic] 
' Create a synchronous 'LogicalMethodInfo' instance.
Dim myLogicalMethodInfo As LogicalMethodInfo = _
           LogicalMethodInfo.Create(New MethodInfo() {myMethodInfo}, LogicalMethodTypes.Sync)(0)

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

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

[JScript] No example is available for JScript. To view a Visual Basic, C#, or C++ example, click the Language Filter button Language Filter in the upper-left corner of the page.

Requirements

Namespace: System.Web.Services.Protocols

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Web.Services (in System.Web.Services.dll)

See Also

System.Web.Services.Protocols Namespace | LogicalMethodInfo

Show:
© 2014 Microsoft