Parameters
- application
- The OPC UA client application object that will perform the operation.
- gdsEndpointDescriptor
- The GDS endpoint acting as OPC UA certificate manager (CM).
Exception | Description |
---|---|
System.ArgumentNullException | A null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. |
The operation is asynchronous, because it involves multiple steps, and waiting for a finalization of the request by the GDS (see the OpcLabs.EasyOpc.UA.Gds.IEasyUACertificateManagement.FinishRequest method). End of the operation is handled by the EndObtainNewCertificate method. The operation can be cancelled using the CancelObtainNewCertificate method.
For a synchronous alternative, see the ObtainNewCertificate(IEasyUAApplication,UAEndpointDescriptor) extension method and its overloads.
For a task-based asynchronous programming pattern alternative, see the ObtainNewCertificateAsync(IEasyUAApplication,UAEndpointDescriptor) extension method and its overloads.