Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ServiceConfiguration Class

.NET Framework 4.5

Represents a configurable property for the service.

System.Object
  System.ServiceModel.ServiceConfiguration

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)
public class ServiceConfiguration

The ServiceConfiguration type exposes the following members.

  NameDescription
Public propertyAuthenticationGets the service authentication behavior.
Public propertyAuthorizationGets the authorization behavior for the service.
Public propertyBaseAddressesGets the base addresses used by the service.
Public propertyCloseTimeoutGets or sets the interval of time allowed for the service to close.
Public propertyCredentialsGets the service credential.
Public propertyDescriptionGets the service description.
Public propertyIdentityConfigurationGets or sets the identity configuration for the service.
Public propertyOpenTimeoutGets or sets the interval of time allowed for the service to open.
Public propertyUseIdentityConfigurationGets or sets a value that indicates whether the service uses identity configuration.
Top
  NameDescription
Public methodAddServiceEndpoint(ServiceEndpoint)Adds the specified service endpoint to the configuration service.
Public methodAddServiceEndpoint(Type, Binding, String)Adds a service endpoint to the configuration service with a specified contract, binding, and endpoint address.
Public methodAddServiceEndpoint(Type, Binding, Uri)Adds a service endpoint to the configuration service with a specified contract, binding, and URI that contains the endpoint address.
Public methodAddServiceEndpoint(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.
Public methodAddServiceEndpoint(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.
Public methodEnableProtocolEnables a binding protocol with the service endpoint.
Public methodEquals(Object)Determines 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.)
Public methodLoadFromConfiguration()Loads a configuration from the current service configuration.
Public methodLoadFromConfiguration(Configuration)Loads the configuration from the current service configuration.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetEndpointAddressSets the endpoint address of the specified endpoint to the specified address.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Supported in: 4.5.1, 4.5

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, 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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.