MetadataConversionError Constructor (String, Boolean)

 

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

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public MetadataConversionError(
	string message,
	bool isWarning
)

Parameters

message
Type: System.String

The message for the warning or error.

isWarning
Type: System.Boolean

Whether the MetadataConversionError is an error or a warning.

By default an error is created.

.NET Framework
Available since 3.0
Return to top
Show: