共用方式為


CertificateProviderItemNotFoundException Constructors

Definition

Overloads

CertificateProviderItemNotFoundException()

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

CertificateProviderItemNotFoundException(String)

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

CertificateProviderItemNotFoundException(SerializationInfo, StreamingContext)
Obsolete.

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

CertificateProviderItemNotFoundException(String, Exception)

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

CertificateProviderItemNotFoundException()

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

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

Applies to

CertificateProviderItemNotFoundException(String)

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

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

Parameters

message
String

The message to be included in the exception.

Applies to

CertificateProviderItemNotFoundException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

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

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

Parameters

info
SerializationInfo

The serialization information.

context
StreamingContext

The streaming context.

Attributes

Applies to

CertificateProviderItemNotFoundException(String, Exception)

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

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