다음을 통해 공유


CertificateStoreLocationNotFoundException Constructors

Definition

Overloads

CertificateStoreLocationNotFoundException()

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

CertificateStoreLocationNotFoundException(String)

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

CertificateStoreLocationNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

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

CertificateStoreLocationNotFoundException(String, Exception)

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

CertificateStoreLocationNotFoundException()

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

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

Applies to

CertificateStoreLocationNotFoundException(String)

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

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

Parameters

message
String

The message to be included in the exception.

Applies to

CertificateStoreLocationNotFoundException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

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

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

Parameters

info
SerializationInfo

The serialization information.

context
StreamingContext

The streaming context.

Attributes

Applies to

CertificateStoreLocationNotFoundException(String, Exception)

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

public:
 CertificateStoreLocationNotFoundException(System::String ^ message, Exception ^ innerException);
public CertificateStoreLocationNotFoundException (string message, Exception innerException);
new Microsoft.PowerShell.Commands.CertificateStoreLocationNotFoundException : string * Exception -> Microsoft.PowerShell.Commands.CertificateStoreLocationNotFoundException
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