ServiceHealthBehaviorBase ServiceHealthBehaviorBase ServiceHealthBehaviorBase 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
ServiceHealthBehaviorBaseServiceHealthBehaviorBaseServiceHealthBehaviorBaseServiceHealthBehaviorBase
Derived
Implements

Constructors

ServiceHealthBehaviorBase() ServiceHealthBehaviorBase() ServiceHealthBehaviorBase() ServiceHealthBehaviorBase()

Initializes a new instance of the ServiceHealthBehaviorBase class.

Properties

HealthDetailsEnabled HealthDetailsEnabled HealthDetailsEnabled 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 HttpGetBinding HttpGetBinding HttpGetBinding

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

HttpGetEnabled HttpGetEnabled HttpGetEnabled HttpGetEnabled

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

HttpGetUrl HttpGetUrl HttpGetUrl HttpGetUrl

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

HttpsGetBinding HttpsGetBinding HttpsGetBinding HttpsGetBinding

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

HttpsGetEnabled HttpsGetEnabled HttpsGetEnabled HttpsGetEnabled

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

HttpsGetUrl HttpsGetUrl HttpsGetUrl HttpsGetUrl

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

ServiceStartTime ServiceStartTime ServiceStartTime ServiceStartTime

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

Methods

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

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

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

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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

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

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) 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) IServiceBehavior.Validate(ServiceDescription, ServiceHostBase) IServiceBehavior.Validate(ServiceDescription, ServiceHostBase) IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

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

Applies to