Show / Hide Table of Contents

Class TransportProvider

The TransportProvider class provides transport implementation for given address schemes.

Inheritance
System.Object
TransportProvider
WebSocketTransportFactory
Implements
System.IDisposable
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Amqp
Assembly: Amqp.Net.dll
Syntax
public abstract class TransportProvider : IDisposable

Properties

AddressSchemes

Gets or sets the supported address schemes.

Declaration
public string[] AddressSchemes { get; protected set; }
Property Value
Type Description
System.String[]

Methods

CreateAsync(Address)

Creates a transport for the given address.

Declaration
public abstract Task<IAsyncTransport> CreateAsync(Address address)
Parameters
Type Name Description
Address address

The address to connect.

Returns
Type Description
System.Threading.Tasks.Task<IAsyncTransport>

An IAsyncTransport object representing the transport.

Dispose()

Disposes the provider and release any associated resources.

Declaration
public virtual void Dispose()

Implements

System.IDisposable
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX