Class
NotSupportedConversionException

Exception thrown when a conversion between types is not supported.

Definition

Namespace:Telerik.Maui

Assembly:Telerik.Maui.Core.dll

Syntax:

cs-api-definition
public class NotSupportedConversionException : Exception, ISerializable

Inheritance: objectExceptionNotSupportedConversionException

Implements: ISerializable

Inherited Members Exception.GetBaseException()Exception.ToString()Exception.GetType()Exception.TargetSiteException.MessageException.DataException.InnerExceptionException.HelpLinkException.SourceException.HResultException.StackTraceException.SerializeObjectState

Constructors

NotSupportedConversionException(object, Type)

Initializes a new instance of the NotSupportedConversionException class with the specified value and type.

Declaration

cs-api-definition
public NotSupportedConversionException(object value, Type type)

Parameters

value

object

The value that could not be converted.

type

Type

The target type for the conversion.

NotSupportedConversionException(string)

Initializes a new instance of the NotSupportedConversionException class with a specified error message.

Declaration

cs-api-definition
public NotSupportedConversionException(string message)

Parameters

message

string

The message that describes the error.