編輯

共用方式為


ServiceHealthBehaviorBase.HandleHealthRequest Method

Definition

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

public:
 abstract void HandleHealthRequest(System::ServiceModel::ServiceHostBase ^ serviceHost, System::ServiceModel::Channels::Message ^ httpGetRequest, cli::array <System::String ^> ^ queries, [Runtime::InteropServices::Out] System::ServiceModel::Channels::Message ^ % replyMessage);
public abstract void HandleHealthRequest (System.ServiceModel.ServiceHostBase serviceHost, System.ServiceModel.Channels.Message httpGetRequest, string[] queries, out System.ServiceModel.Channels.Message replyMessage);
abstract member HandleHealthRequest : System.ServiceModel.ServiceHostBase * System.ServiceModel.Channels.Message * string[] * Message -> unit
Public MustOverride Sub HandleHealthRequest (serviceHost As ServiceHostBase, httpGetRequest As Message, queries As String(), ByRef replyMessage As Message)

Parameters

serviceHost
ServiceHostBase

The service host.

httpGetRequest
Message

The HTTP/Get or HTTPS/Get request.

queries
String[]

The variables in the query string.

replyMessage
Message

The response .

Applies to