ConversionNotSupportedException Create Method (Type, Object) | Apache log4net™ SDK Documentation

Creates a new instance of the ConversionNotSupportedException class.

Namespace: log4net.Util.TypeConverters
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public static ConversionNotSupportedException Create(
    	Type destinationType,
    	Object sourceValue
    )

    Public Shared Function Create (
    	destinationType As Type,
    	sourceValue As Object
    ) As ConversionNotSupportedException

    public:
    static ConversionNotSupportedException^ Create(
    	Type^ destinationType,
    	Object^ sourceValue
    )

    static member Create :
            destinationType : Type *
            sourceValue : Object -> ConversionNotSupportedException

#### Parameters

destinationType
  Type: System
  Type
  The conversion destination type.
sourceValue
  Type: System
  Object
  The value to convert.

#### Return Value

Type: ConversionNotSupportedException
An instance of the ConversionNotSupportedException.
Remarks

Creates a new instance of the ConversionNotSupportedException class.

See Also

#### Reference

ConversionNotSupportedException Class
Create Overload
log4net.Util.TypeConverters Namespace