Share via


EventHubConnectionOptions.CertificateValidationCallback Property

Definition

A RemoteCertificateValidationCallback delegate allowing custom logic to be considered for validation of the remote certificate responsible for encrypting communication.

public System.Net.Security.RemoteCertificateValidationCallback CertificateValidationCallback { get; set; }
member this.CertificateValidationCallback : System.Net.Security.RemoteCertificateValidationCallback with get, set
Public Property CertificateValidationCallback As RemoteCertificateValidationCallback

Property Value

The callback will be invoked any time a connection is established, including any reconnect attempts.

Applies to