다음을 통해 공유


ArgumentTransformationMetadataException Constructors

Definition

Overloads

ArgumentTransformationMetadataException()

Initializes a new instance of ArgumentTransformationMetadataException with the message set to typeof(ArgumentTransformationMetadataException).FullName.

ArgumentTransformationMetadataException(String)

Initializes a new instance of ArgumentTransformationMetadataException setting the message.

ArgumentTransformationMetadataException(SerializationInfo, StreamingContext)
Obsolete.

Initializes a new instance of ArgumentTransformationMetadataException with serialization parameters.

ArgumentTransformationMetadataException(String, Exception)

Initializes a new instance of ArgumentTransformationMetadataException setting the message and innerException.

ArgumentTransformationMetadataException()

Initializes a new instance of ArgumentTransformationMetadataException with the message set to typeof(ArgumentTransformationMetadataException).FullName.

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

Applies to

ArgumentTransformationMetadataException(String)

Initializes a new instance of ArgumentTransformationMetadataException setting the message.

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

Parameters

message
String

The exception's message.

Applies to

ArgumentTransformationMetadataException(SerializationInfo, StreamingContext)

Caution

Legacy serialization support is deprecated since .NET 8

Initializes a new instance of ArgumentTransformationMetadataException with serialization parameters.

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

Parameters

info
SerializationInfo

Serialization information.

context
StreamingContext

Streaming context.

Attributes

Applies to

ArgumentTransformationMetadataException(String, Exception)

Initializes a new instance of ArgumentTransformationMetadataException setting the message and innerException.

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

Parameters

message
String

The exception's message.

innerException
Exception

The exception's inner exception.

Applies to