Share via


MessagingConfiguration.AddTransport Method

Adds the SOAP transport to the collection that corresponds to the specified scheme.

Namespace: Microsoft.Web.Services3.Messaging.Configuration
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim scheme As String
Dim transport As Type
Dim messagingConfiguration1 As MessagingConfiguration
messagingConfiguration1.AddTransport(scheme, transport)

Syntax

'Declaration
Public Sub AddTransport( _
    ByVal scheme As String, _
    ByVal transport As Type _
)
public void AddTransport(
    string scheme, 
    Type transport
);
public:
void AddTransport(
    String^ scheme,
    Type^ transport
);
public void AddTransport(
    System.String scheme, 
    Type transport
);
public function AddTransport(
     scheme : String, 
     transport : Type
) : Void;

Parameters

  • scheme
    A unique value that specifies the transport scheme.
  • transport
    The transport to be added.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

MessagingConfiguration Class
MessagingConfiguration Members
Microsoft.Web.Services3.Messaging.Configuration Namespace