Freigeben über


LogicalMethodTypes-Enumeration

Gibt an, wie die XML-Webdienstmethode aufgerufen wurde.

Namespace: System.Web.Services.Protocols
Assembly: System.Web.Services (in system.web.services.dll)

Syntax

'Declaration
Public Enumeration LogicalMethodTypes
'Usage
Dim instance As LogicalMethodTypes
public enum LogicalMethodTypes
public enum class LogicalMethodTypes
public enum LogicalMethodTypes
public enum LogicalMethodTypes

Member

  Membername Beschreibung
Unterstützt von .NET Compact Framework Async Die XML-Webdienstmethode wird asynchron aufgerufen. 
Unterstützt von .NET Compact Framework Sync Die XML-Webdienstmethode wird synchron aufgerufen. 

Beispiel

' Create a synchronous 'LogicalMethodInfo' instance.
Dim myLogicalMethodInfo As LogicalMethodInfo = _
           LogicalMethodInfo.Create(New MethodInfo() {myMethodInfo}, LogicalMethodTypes.Sync)(0)
// Create a synchronous 'LogicalMethodInfo' instance.
LogicalMethodInfo myLogicalMethodInfo = 
   (LogicalMethodInfo.Create(new MethodInfo[] {myMethodInfo}, 
                             LogicalMethodTypes.Sync))[0];
// 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)LogicalMethodInfo.Create(new MethodInfo[] 
    { myMethodInfo }, LogicalMethodTypes.Sync).get_Item(0);

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

System.Web.Services.Protocols-Namespace
LogicalMethodInfo-Klasse