Share via


CertificateModelFactory.CertificateOperationError Method

Definition

Initializes a new instance of the CertificateOperationError for mocking purposes.

public static Azure.Security.KeyVault.Certificates.CertificateOperationError CertificateOperationError (string code = default, string message = default, Azure.Security.KeyVault.Certificates.CertificateOperationError innerError = default);
static member CertificateOperationError : string * string * Azure.Security.KeyVault.Certificates.CertificateOperationError -> Azure.Security.KeyVault.Certificates.CertificateOperationError
Public Shared Function CertificateOperationError (Optional code As String = Nothing, Optional message As String = Nothing, Optional innerError As CertificateOperationError = Nothing) As CertificateOperationError

Parameters

code
String

Sets the Code property.

message
String

Sets the Message property.

innerError
CertificateOperationError

Sets the InnerError property.

Returns

A new instance of the CertificateOperationError for mocking purposes.

Applies to