편집

다음을 통해 공유


ServiceConfiguration Class

Definition

Represents a configurable property for the service.

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

Properties

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.

Methods

AddServiceEndpoint(ServiceEndpoint)

Adds the specified service endpoint to the configuration service.

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, String)

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

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.

AddServiceEndpoint(Type, Binding, Uri)

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

EnableProtocol(Binding)

Enables a binding protocol with the service endpoint.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(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(ServiceEndpoint, String)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to