| Visual Basic (Declaration) | |
|---|---|
Public Sub Verify() | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Certificate instance.Verify() | |
| C# | |
|---|---|
public void Verify() | |
| Managed Extensions for C++ | |
|---|---|
public: void Verify(); | |
| C++/CLI | |
|---|---|
public: void Verify(); | |
| Exception | Description |
|---|---|
| System.ArgumentException | The certificate failed to acquire server credentials. |
This method throws an exception if the certificate fails to acquire server credentials. A certificate could fail to acquire credentials for several reasons. For example, the certificate may not have a private key. A certificate must be made to acquire credentials before it can be used.
Target Platforms: Microsoft .NET Framework 2.0