ServiceConfiguration ServiceConfiguration ServiceConfiguration ServiceConfiguration Class

Definition

Represents a configurable property for the service.

public ref class ServiceConfiguration
public class ServiceConfiguration
type ServiceConfiguration = class
Public Class ServiceConfiguration
Inheritance
ServiceConfigurationServiceConfigurationServiceConfigurationServiceConfiguration

Properties

Authentication Authentication Authentication Authentication

Gets the service authentication behavior.

Authorization Authorization Authorization Authorization

Gets the authorization behavior for the service.

BaseAddresses BaseAddresses BaseAddresses BaseAddresses

Gets the base addresses used by the service.

CloseTimeout CloseTimeout CloseTimeout CloseTimeout

Gets or sets the interval of time allowed for the service to close.

Credentials Credentials Credentials Credentials

Gets the service credential.

Description Description Description Description

Gets the service description.

IdentityConfiguration IdentityConfiguration IdentityConfiguration IdentityConfiguration

Gets or sets the identity configuration for the service.

OpenTimeout OpenTimeout OpenTimeout OpenTimeout

Gets or sets the interval of time allowed for the service to open.

UseIdentityConfiguration UseIdentityConfiguration UseIdentityConfiguration UseIdentityConfiguration

Gets or sets a value that indicates whether the service uses identity configuration.

Methods

AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint) AddServiceEndpoint(ServiceEndpoint)

Adds the specified service endpoint to the configuration service.

AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String) AddServiceEndpoint(Type, Binding, String)

Adds a service endpoint to the configuration service with a specified contract, binding, and endpoint address.

AddServiceEndpoint(Type, Binding, String, Uri) AddServiceEndpoint(Type, Binding, String, Uri) AddServiceEndpoint(Type, Binding, String, Uri) 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) AddServiceEndpoint(Type, Binding, Uri) AddServiceEndpoint(Type, Binding, Uri) 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, Uri, Uri) AddServiceEndpoint(Type, Binding, Uri, Uri) AddServiceEndpoint(Type, Binding, Uri, Uri) 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(Binding) EnableProtocol(Binding) EnableProtocol(Binding) EnableProtocol(Binding)

Enables a binding protocol with the service endpoint.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadFromConfiguration() LoadFromConfiguration() LoadFromConfiguration() LoadFromConfiguration()

Loads a configuration from the current service configuration.

LoadFromConfiguration(Configuration) LoadFromConfiguration(Configuration) LoadFromConfiguration(Configuration) LoadFromConfiguration(Configuration)

Loads the configuration from the current service configuration.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetEndpointAddress(ServiceEndpoint, String) SetEndpointAddress(ServiceEndpoint, String) SetEndpointAddress(ServiceEndpoint, String) SetEndpointAddress(ServiceEndpoint, String)

Sets the endpoint address of the specified endpoint to the specified address.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to