Dela via


WcfCommunicationClientFactory<TServiceContract>.ValidateClient Method

Definition

Overloads

ValidateClient(WcfCommunicationClient<TServiceContract>)

Returns true if the client is still valid. Connection oriented transports can use this method to indicate that the client is no longer connected to the service.

ValidateClient(String, WcfCommunicationClient<TServiceContract>)

Returns true if the client is still valid and connected to the endpoint specified in the parameter.

ValidateClient(WcfCommunicationClient<TServiceContract>)

Returns true if the client is still valid. Connection oriented transports can use this method to indicate that the client is no longer connected to the service.

protected override bool ValidateClient (Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<TServiceContract> client);
override this.ValidateClient : Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<'ServiceContract (requires 'ServiceContract : null)> -> bool
Protected Overrides Function ValidateClient (client As WcfCommunicationClient(Of TServiceContract)) As Boolean

Parameters

client
WcfCommunicationClient<TServiceContract>

WCF communication client

Returns

true if the client is valid, false otherwise

Applies to

ValidateClient(String, WcfCommunicationClient<TServiceContract>)

Returns true if the client is still valid and connected to the endpoint specified in the parameter.

protected override bool ValidateClient (string endpoint, Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<TServiceContract> client);
override this.ValidateClient : string * Microsoft.ServiceFabric.Services.Communication.Wcf.Client.WcfCommunicationClient<'ServiceContract (requires 'ServiceContract : null)> -> bool
Protected Overrides Function ValidateClient (endpoint As String, client As WcfCommunicationClient(Of TServiceContract)) As Boolean

Parameters

endpoint
String

endpoint string

client
WcfCommunicationClient<TServiceContract>

WCF communication client

Returns

true if the client is valid, false otherwise

Applies to