Editar

Compartilhar via


MetadataConversionError Constructors

Definition

Initializes a new instance of the MetadataConversionError class.

Overloads

MetadataConversionError(String)

Initializes a new instance of the MetadataConversionError class using the specified message.

MetadataConversionError(String, Boolean)

Initializes a new instance of the MetadataConversionError class using the specified message and isWarning value.

Remarks

By default an error is created.

MetadataConversionError(String)

Source:
MetadataConversionError.cs
Source:
MetadataConversionError.cs

Initializes a new instance of the MetadataConversionError class using the specified message.

public:
 MetadataConversionError(System::String ^ message);
public MetadataConversionError (string message);
new System.ServiceModel.Description.MetadataConversionError : string -> System.ServiceModel.Description.MetadataConversionError
Public Sub New (message As String)

Parameters

message
String

The error or warning message.

Remarks

By default an error is created.

Applies to

MetadataConversionError(String, Boolean)

Source:
MetadataConversionError.cs
Source:
MetadataConversionError.cs

Initializes a new instance of the MetadataConversionError class using the specified message and isWarning value.

public:
 MetadataConversionError(System::String ^ message, bool isWarning);
public MetadataConversionError (string message, bool isWarning);
new System.ServiceModel.Description.MetadataConversionError : string * bool -> System.ServiceModel.Description.MetadataConversionError
Public Sub New (message As String, isWarning As Boolean)

Parameters

message
String

The message for the warning or error.

isWarning
Boolean

Whether the MetadataConversionError is an error or a warning.

Remarks

By default an error is created.

Applies to