Microsoft.Azure.Relay Namespace

Contains classes that support access to Relay resources.

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.

Strings

A strongly-typed resource class, for looking up localized strings, etc.

TokenProvider

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

Interfaces

IConnectionStatus

Describes the current status of a one-way connection.

Enums

WriteMode

WriteMode options for HybridConnectionStream