WcfCommunicationClientFactory<TServiceContract>.ValidateClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
WCF communication client
Returns
true if the client is valid, false otherwise
Applies to
Azure SDK for .NET