C# Class GSF.ServiceModel.Activation.SecureServiceHostFactory

A service host factory for WCF Services that enables role-based security using IAuthorizationPolicy.
Inheritance: System.ServiceModel.Activation.ServiceHostFactory
ファイルを表示 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
SecureServiceHostFactory ( ) : System

Initializes a new instance of the SecureServiceHostFactory class.

SecureServiceHostFactory ( string protocol ) : System

Initializes a new instance of the SecureServiceHostFactory class.

SecureServiceHostFactory ( string protocol, string address ) : System

Initializes a new instance of the SecureServiceHostFactory class.

SecureServiceHostFactory ( string protocol, string address, List endpointBehaviors, List serviceBehaviors ) : System

Initializes a new instance of the SecureServiceHostFactory class.

Protected Methods

Method Description
CreateServiceHost ( Type serviceType, Uri baseAddresses ) : System.ServiceModel.ServiceHost

Creates a new ServiceHost from the URI.

Method Details

CreateServiceHost() protected method

Creates a new ServiceHost from the URI.
protected CreateServiceHost ( Type serviceType, Uri baseAddresses ) : System.ServiceModel.ServiceHost
serviceType System.Type Specifies the type of WCF service to host.
baseAddresses System.Uri An array of base addresses for the service.
return System.ServiceModel.ServiceHost

SecureServiceHostFactory() public method

Initializes a new instance of the SecureServiceHostFactory class.
public SecureServiceHostFactory ( ) : System
return System

SecureServiceHostFactory() public method

Initializes a new instance of the SecureServiceHostFactory class.
public SecureServiceHostFactory ( string protocol ) : System
protocol string Protocol used by the service.
return System

SecureServiceHostFactory() public method

Initializes a new instance of the SecureServiceHostFactory class.
public SecureServiceHostFactory ( string protocol, string address ) : System
protocol string Protocol used by the service.
address string Address of the service.
return System

SecureServiceHostFactory() public method

Initializes a new instance of the SecureServiceHostFactory class.
public SecureServiceHostFactory ( string protocol, string address, List endpointBehaviors, List serviceBehaviors ) : System
protocol string Protocol used by the service.
address string Address of the service.
endpointBehaviors List Endpoint behaviors to be added to the created service.
serviceBehaviors List Service behaviors to be added to the created service.
return System