log4net SDK Reference |

# ConversionNotSupportedException.Create Method (Type, Object)

Creates a new instance of the ConversionNotSupportedException class.

[Visual Basic]
Overloads Public Shared Function Create( _
ByVal destinationType As Type, _
ByVal sourceValue As Object _
) As ConversionNotSupportedException
[C#]
public static ConversionNotSupportedException Create(
Type destinationType,
object sourceValue
);

#### Parameters

destinationType
  The conversion destination type.
sourceValue
  The value to convert.

#### Return Value

An instance of the ConversionNotSupportedException.

#### Remarks

Creates a new instance of the ConversionNotSupportedException class.

#### See Also

ConversionNotSupportedException Class | log4net.Util.TypeConverters Namespace | ConversionNotSupportedException.Create Overload List