Editar

Compartilhar via


HostedTransportConfiguration Class

Definition

Provides transport-specific configuration for transport implementations hosted in Windows Process Activation Service (WAS).

public ref class HostedTransportConfiguration abstract
public abstract class HostedTransportConfiguration
type HostedTransportConfiguration = class
Public MustInherit Class HostedTransportConfiguration
Inheritance
HostedTransportConfiguration

Remarks

Transports that support process activation using the Windows Process Activation Service (WAS) use WAS site bindings to store information about the network addresses on which the transport is listening. The transport implementation is responsible for reading this information from the ApplicationHost.config file and for constructing a set of base address URIs that can then be passed to the constructor of ServiceHostBase. The process by which these base addresses are constructed is transport protocol specific. Implementations of a transport that support WAS activation must provide an implementation that derives from HostedTransportConfiguration to encapsulate this logic. For more information about the use of this class, see the UDP Activation sample, which demonstrates how to create a custom user datagram protocol (UDP) to be activated by WAS.

Constructors

HostedTransportConfiguration()

Initializes a new instance of the HostedTransportConfiguration class.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBaseAddresses(String)

When overridden in a derived class, retrieves the base address of the host.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to