編集

次の方法で共有


ServiceHealthBehaviorBase Class

Definition

Serves as the base class for a Windows Communication Foundation (WCF) service behavior that provides a health endpoint.

public ref class ServiceHealthBehaviorBase abstract : System::ServiceModel::Description::IServiceBehavior
public abstract class ServiceHealthBehaviorBase : System.ServiceModel.Description.IServiceBehavior
type ServiceHealthBehaviorBase = class
    interface IServiceBehavior
Public MustInherit Class ServiceHealthBehaviorBase
Implements IServiceBehavior
Inheritance
ServiceHealthBehaviorBase
Derived
Implements

Constructors

ServiceHealthBehaviorBase()

Initializes a new instance of the ServiceHealthBehaviorBase class.

Properties

HealthDetailsEnabled

Gets or sets a value that specifies if the health endpoint should return the service details or if the response should contain no content.

HttpGetBinding

Gets or sets the binding that is used for health retrieval via an HTTP/Get request.

HttpGetEnabled

Gets or sets a value that specifies whether to publish service metadata for retrieval using an HTTP/Get request.

HttpGetUrl

Gets or sets a Uri that specifies the address to which metadata is published for retrieval using an HTTP/Get request.

HttpsGetBinding

Gets or sets the binding that is used for health retrieval via an HTTPS/Get request.

HttpsGetEnabled

Gets or sets a value that specifies whether to publish service metadata for retrieval using an HTTPS/Get request.

HttpsGetUrl

Gets or sets a Uri that specifies the address to which metadata is published for retrieval using an HTTPS/Get request.

ServiceStartTime

Gets the date and time that the health check service started.

Methods

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)
HandleHealthRequest(ServiceHostBase, Message, String[], Message)

Processes an HTTP/Get or HTTPS/Get request and returns a response.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

Passes custom data to binding elements to support the contact implementation.

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

Changes run-time property values or inserts custom extension objects such as error handlers, message or parameter interceptors, security extensions, and other custom extension objects.

IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

Inspects the service host and the service description to confirm that the service can run successfully.

Applies to