CommunicationClientFactoryBase<TCommunicationClient>.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(TCommunicationClient) |
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, TCommunicationClient) |
Returns true if the client is still valid and connected to the endpoint specified in the parameter. |
ValidateClient(TCommunicationClient)
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 abstract bool ValidateClient (TCommunicationClient client);
abstract member ValidateClient : 'CommunicationClient -> bool
Protected MustOverride Function ValidateClient (client As TCommunicationClient) As Boolean
Parameters
- client
- TCommunicationClient
the communication client
Returns
true if the client is valid, false otherwise
Applies to
ValidateClient(String, TCommunicationClient)
Returns true if the client is still valid and connected to the endpoint specified in the parameter.
protected abstract bool ValidateClient (string endpoint, TCommunicationClient client);
abstract member ValidateClient : string * 'CommunicationClient -> bool
Protected MustOverride Function ValidateClient (endpoint As String, client As TCommunicationClient) As Boolean
Parameters
- endpoint
- String
Specifies the expected endpoint to which we think the client is connected to
- client
- TCommunicationClient
the communication client
Returns
true if the client is valid, false otherwise
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기