다음을 통해 공유


ProviderNotFoundException Constructors

Definition

Overloads

ProviderNotFoundException()

Constructs a ProviderNotFoundException.

ProviderNotFoundException(String)

Constructs a ProviderNotFoundException.

ProviderNotFoundException(SerializationInfo, StreamingContext)

Constructs a ProviderNotFoundException using serialized data.

ProviderNotFoundException(String, Exception)

Constructs a ProviderNotFoundException.

ProviderNotFoundException()

Constructs a ProviderNotFoundException.

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

Applies to

ProviderNotFoundException(String)

Constructs a ProviderNotFoundException.

public:
 ProviderNotFoundException(System::String ^ message);
public:
 ProviderNotFoundException(Platform::String ^ message);
 ProviderNotFoundException(std::wstring const & message);
public ProviderNotFoundException (string message);
new System.Management.Automation.ProviderNotFoundException : string -> System.Management.Automation.ProviderNotFoundException
Public Sub New (message As String)

Parameters

message
String

The messaged used by the exception.

Applies to

ProviderNotFoundException(SerializationInfo, StreamingContext)

Constructs a ProviderNotFoundException using serialized data.

protected:
 ProviderNotFoundException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected ProviderNotFoundException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Management.Automation.ProviderNotFoundException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Management.Automation.ProviderNotFoundException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Applies to

ProviderNotFoundException(String, Exception)

Constructs a ProviderNotFoundException.

public:
 ProviderNotFoundException(System::String ^ message, Exception ^ innerException);
public ProviderNotFoundException (string message, Exception innerException);
new System.Management.Automation.ProviderNotFoundException : string * Exception -> System.Management.Automation.ProviderNotFoundException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

The message used by the exception.

innerException
Exception

The exception that caused the error.

Applies to