HostedTransportConfiguration Class


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

Namespace:   System.ServiceModel.Activation
Assembly:  System.ServiceModel.Activation (in System.ServiceModel.Activation.dll)


public abstract class HostedTransportConfiguration


Initializes a new instance of the HostedTransportConfiguration class.


Determines whether the specified object is equal to the current object.(Inherited from Object.)


Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)


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


Serves as the default hash function. (Inherited from Object.)


Gets the Type of the current instance.(Inherited from Object.)


Creates a shallow copy of the current Object.(Inherited from Object.)


Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 3.0

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

Return to top