ServiceConfiguration Class
.NET Framework 4.5
Represents a configurable property for the service.
Namespace: System.ServiceModel
Assembly: System.ServiceModel (in System.ServiceModel.dll)
The ServiceConfiguration type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Authentication | Gets the service authentication behavior. |
![]() | Authorization | Gets the authorization behavior for the service. |
![]() | BaseAddresses | Gets the base addresses used by the service. |
![]() | CloseTimeout | Gets or sets the interval of time allowed for the service to close. |
![]() | Credentials | Gets the service credential. |
![]() | Description | Gets the service description. |
![]() | IdentityConfiguration | Gets or sets the identity configuration for the service. |
![]() | OpenTimeout | Gets or sets the interval of time allowed for the service to open. |
![]() | UseIdentityConfiguration | Gets or sets a value that indicates whether the service uses identity configuration. |
| Name | Description | |
|---|---|---|
![]() | AddServiceEndpoint(ServiceEndpoint) | Adds the specified service endpoint to the configuration service. |
![]() | AddServiceEndpoint(Type, Binding, String) | Adds a service endpoint to the configuration service with a specified contract, binding, and endpoint address. |
![]() | AddServiceEndpoint(Type, Binding, Uri) | Adds a service endpoint to the configuration service with a specified contract, binding, and URI that contains the endpoint address. |
![]() | AddServiceEndpoint(Type, Binding, String, Uri) | Adds a service endpoint to the configuration service with a specified contract, binding, endpoint address and URI that contains the address at which it listens. |
![]() | AddServiceEndpoint(Type, Binding, Uri, Uri) | Adds a service endpoint to the configuration service with the specified contract, binding, and URIs that contain the endpoint and listening addresses. |
![]() | EnableProtocol | Enables a binding protocol with the service endpoint. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | LoadFromConfiguration() | Loads a configuration from the current service configuration. |
![]() | LoadFromConfiguration(Configuration) | Loads the configuration from the current service configuration. |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | SetEndpointAddress | Sets the endpoint address of the specified endpoint to the specified address. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
