ConversionNotSupportedException Create Method (Type, Object, Exception) | 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,
    	Exception innerException
    )

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

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

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

#### Parameters

destinationType
  Type: System
  Type
  The conversion destination type.
sourceValue
  Type: System
  Object
  The value to convert.
innerException
  Type: System
  Exception
  A nested exception to include.

#### 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