Click or drag to resize

SecureServiceHostFactory Class

A service host factory for WCF Services that enables role-based security using IAuthorizationPolicy.
Inheritance Hierarchy
SystemObject
  System.ServiceModel.ActivationServiceHostFactoryBase
    System.ServiceModel.ActivationServiceHostFactory
      GSF.ServiceModel.ActivationSecureServiceHostFactory

Namespace: GSF.ServiceModel.Activation
Assembly: GSF.ServiceModel (in GSF.ServiceModel.dll) Version: 2.4.181-beta
Syntax
public class SecureServiceHostFactory : ServiceHostFactory
View Source

The SecureServiceHostFactory type exposes the following members.

Constructors
 NameDescription
Public methodSecureServiceHostFactory Initializes a new instance of the SecureServiceHostFactory class.
Public methodSecureServiceHostFactory(String) Initializes a new instance of the SecureServiceHostFactory class.
Public methodSecureServiceHostFactory(String, String) Initializes a new instance of the SecureServiceHostFactory class.
Public methodSecureServiceHostFactory(String, String, ListIEndpointBehavior, ListIServiceBehavior) Initializes a new instance of the SecureServiceHostFactory class.
Top
Properties
 NameDescription
Public propertyAuthorizationPolicy Gets or sets the IAuthorizationPolicy used for securing the service.
Public propertyDisableSecurity Gets or sets a boolean value that indicates whether security on the service is to be disabled.
Public propertyEndpointBehaviors Gets or sets the list of endpoint behaviors added to the services created
Public propertyPublishMetadata Gets or sets a boolean value that indicates whether service meta-data is to be published.
Public propertyServiceBehaviors Gets or sets the list of service behaviors added to the services created
Top
Methods
 NameDescription
Public methodCreateServiceHost(String, Uri)Creates a ServiceHost with specific base addresses and initializes it with specified data.
(Inherited from ServiceHostFactory)
Protected methodCreateServiceHost(Type, Uri) Creates a new ServiceHost from the URI.
(Overrides ServiceHostFactoryCreateServiceHost(Type, Uri))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also