C# Class GSF.ServiceModel.Activation.SecureDataServiceHostFactory

A service host factory for WCF Data Services that enables role-based security using IAuthorizationPolicy.
Inheritance: System.Data.Services.DataServiceHostFactory
显示文件 Open project: GridProtectionAlliance/gsf

Public Methods

Method Description
SecureDataServiceHostFactory ( ) : System

Initializes a new instance of the SecureDataServiceHostFactory class.

SecureDataServiceHostFactory ( List behaviors ) : System

Initializes a new instance of the SecureDataServiceHostFactory class.

SecureDataServiceHostFactory ( List behaviors ) : System

Initializes a new instance of the SecureDataServiceHostFactory class.

SecureDataServiceHostFactory ( List serviceBehaviors, List endpointBehaviors ) : System

Initializes a new instance of the SecureDataServiceHostFactory class.

Protected Methods

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

Creates a new DataServiceHost from the URI.

Method Details

CreateServiceHost() protected method

Creates a new DataServiceHost 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

SecureDataServiceHostFactory() public method

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

SecureDataServiceHostFactory() public method

Initializes a new instance of the SecureDataServiceHostFactory class.
public SecureDataServiceHostFactory ( List behaviors ) : System
behaviors List A collection of endpoint behaviors that will be applied to newly created endpoints.
return System

SecureDataServiceHostFactory() public method

Initializes a new instance of the SecureDataServiceHostFactory class.
public SecureDataServiceHostFactory ( List behaviors ) : System
behaviors List A collection of service behaviors that will be applied to newly created services.
return System

SecureDataServiceHostFactory() public method

Initializes a new instance of the SecureDataServiceHostFactory class.
public SecureDataServiceHostFactory ( List serviceBehaviors, List endpointBehaviors ) : System
serviceBehaviors List A collection of service behaviors that will be applied to newly created services.
endpointBehaviors List A collection of endpoint behaviors that will be applied to newly created endpoints.
return System