Microsoft.Azure.Relay Namespace

Classes

AuthorizationFailedException

The exception that occurs when an authorization attempt fails.

ConnectionLostException

An exception that occurs when a Listener gets disconnected from the Azure cloud service.

EndpointAlreadyExistsException

An exception that indicates the Relay HybridConnection/Endpoint already exists.

EndpointNotFoundException

Represents an exception when the Relay HybridConnection/Endpoint should exist but was not present.

HybridConnectionClient

Provides a client for initiating new send-side HybridConnections.

HybridConnectionListener

Provides a listener for accepting HybridConnections from remote clients.

HybridConnectionRuntimeInformation

Provides runtime information about a HybridConnection.

HybridConnectionStream

A Stream representing a connected HybridConnection. Use it just like any other Stream with the addition of a Shutdown method for notifying the other side of this connection that shutdown is occurring.

QuotaExceededException

An exception indicating a Relay quota has been exceeded.

RelayConnectionStringBuilder

Creates and manages the contents of connection strings. You can use this class to construct a connection string for working with a Relay namespace. It can also be used to perform basic validation on an existing connection string.

RelayedHttpListenerContext

Provides access to the request and response objects representing a client request to a HybridConnectionListener. This is modeled after System.Net.HttpListenerContext.

RelayedHttpListenerRequest

Describes an incoming client request to a HybridConnectionListener object. This is modeled after System.Net.HttpListenerRequest.

RelayedHttpListenerResponse

Represents a response to a request being handled by a HybridConnectionListener object. This is modeled after System.Net.HttpListenerResponse.

RelayException

Represents exceptions thrown for for relay errors.

SecurityToken

Provides information about a security token such as audience, expiry time, and the string token value.

ServerBusyException

Represents the exception that is thrown when a server is overloaded with logical operations.

TokenProvider

This abstract base class can be extended to implement additional token providers.

TrackingContext

TrackingContext class is used for correlating end to end tracing of operations.

Interfaces

IClientWebSocket

Client WebSocket Interface.

IClientWebSocketFactory

Client WebSocket Factory interface.

IClientWebSocketOptions

Client Websocket Options interface.

IConnectionStatus

Describes the current status of a one-way connection.

Enums

RelayConnectionStringBuilder.AuthenticationType

The type of authentication method that Relay will use to authenticate its operations.

WriteMode

WriteMode options for HybridConnectionStream

Delegates

TokenProvider.AuthenticationCallback

A user supplied handler that would be invoked to obtain the AAD access token string.