Parameters
- asyncResult
- A status object that represents an asynchronous call.
It is the asynchronous result returned by the BeginObtainNewCertificate method.The value of this parameter cannot be
null
(Nothing
in Visual Basic).
The value of this parameter cannot be null
(Nothing
in Visual Basic).
The value of this parameter cannot be null
(Nothing
in Visual Basic).
Exception | Description |
---|---|
System.ArgumentNullException |
A This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
System.InvalidOperationException | A method call was invalid for the object's current state. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
The cancellation may or may not succeed. When the operation is cancelled, the EndObtainNewCertificate method will throw System.OperationCanceledException exception.