ServiceHostFactoryBase Class

Definition

Provides the base implementation for the factory that allows application code to participate in the creation of service hosts in managed hosting environments where the host instance is created dynamically in response to incoming messages.

public abstract class ServiceHostFactoryBase
Inheritance
ServiceHostFactoryBase
Derived

Remarks

The managed hosting environments that support this interface are Internet Information Services (IIS) or Windows Process Activation Services (WAS). Implement a factory that derives from this class when you have implemented a custom derivative of ServiceHostBase in these hosting environments. If you have implemented a custom derivative of ServiceHost, consider deriving from ServiceHostFactory instead.

Constructors

ServiceHostFactoryBase()

Initializes a new instance of the ServiceHostFactoryBase class.

Methods

CreateServiceHost(String, Uri[])

When overridden in a derived class, creates a ServiceHostBase with a specific base address using custom initiation data.

Equals(Object)

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

(Inherited from Object)
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

产品 版本
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1