CertificateStoreNotFoundException Constructors

Definition

Overloads

CertificateStoreNotFoundException()

Initializes a new instance of the CertificateStoreNotFoundException class with the default message.

CertificateStoreNotFoundException(String)

Initializes a new instance of the CertificateStoreNotFoundException class with the specified message.

CertificateStoreNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of the CertificateStoreNotFoundException class with the specified serialization information, and context.

CertificateStoreNotFoundException(String, Exception)

Initializes a new instance of the CertificateStoreNotFoundException class with the specified message, and inner exception.

CertificateStoreNotFoundException()

Initializes a new instance of the CertificateStoreNotFoundException class with the default message.

public:
 CertificateStoreNotFoundException();
public:
 CertificateStoreNotFoundException();
 CertificateStoreNotFoundException();
public CertificateStoreNotFoundException ();
Public Sub New ()

Applies to

CertificateStoreNotFoundException(String)

Initializes a new instance of the CertificateStoreNotFoundException class with the specified message.

public:
 CertificateStoreNotFoundException(System::String ^ message);
public:
 CertificateStoreNotFoundException(Platform::String ^ message);
 CertificateStoreNotFoundException(std::wstring const & message);
public CertificateStoreNotFoundException (string message);
new Microsoft.PowerShell.Commands.CertificateStoreNotFoundException : string -> Microsoft.PowerShell.Commands.CertificateStoreNotFoundException
Public Sub New (message As String)

Parameters

message
String

The message to be included in the exception.

Applies to

CertificateStoreNotFoundException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of the CertificateStoreNotFoundException class with the specified serialization information, and context.

protected:
 CertificateStoreNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected CertificateStoreNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")]
protected CertificateStoreNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.PowerShell.Commands.CertificateStoreNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.CertificateStoreNotFoundException
[<System.Obsolete("Legacy serialization support is deprecated since .NET 8", DiagnosticId="SYSLIB0051")>]
new Microsoft.PowerShell.Commands.CertificateStoreNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.PowerShell.Commands.CertificateStoreNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

The serialization information.

context
StreamingContext

The streaming context.

Attributes

Applies to

CertificateStoreNotFoundException(String, Exception)

Initializes a new instance of the CertificateStoreNotFoundException class with the specified message, and inner exception.

public:
 CertificateStoreNotFoundException(System::String ^ message, Exception ^ innerException);
public CertificateStoreNotFoundException (string message, Exception innerException);
new Microsoft.PowerShell.Commands.CertificateStoreNotFoundException : string * Exception -> Microsoft.PowerShell.Commands.CertificateStoreNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message to be included in the exception.

innerException
Exception

The inner exception to be included in the exception.

Applies to