Visual Basic (Declaration) | |
---|---|
Public Delegate Function RemoteCertificateValidationCallback( _ ByVal sender As Object, _ ByVal certificate As X509Certificate, _ ByVal chain As X509Chain, _ ByVal sslPolicyErrors As SslPolicyErrors _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As New RemoteCertificateValidationCallback(AddressOf HandlerMethod) |
C# | |
---|---|
public delegate bool RemoteCertificateValidationCallback( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors sslPolicyErrors ) |
Managed Extensions for C++ | |
---|---|
public: __gc __delegate bool RemoteCertificateValidationCallback( Object* sender, X509Certificate* certificate, X509Chain* chain, SslPolicyErrors sslPolicyErrors ) |
C++/CLI | |
---|---|
public delegate bool RemoteCertificateValidationCallback( Object^ sender, X509Certificate^ certificate, X509Chain^ chain, SslPolicyErrors sslPolicyErrors ) |
Parameters
- sender
- An object that contains state information for this validation.
- certificate
- The certificate used to authenticate the remote party.
- chain
- The chain of certificate authorities associated with the remote certificate. Not implemented (always null).
- sslPolicyErrors
- One or more errors associated with the remote certificate.
Target Platforms: Microsoft .NET Framework 2.0