ConfigurationHelper.CreateCouldNotConvertException<T> Method (String, Object)
Creates an exception when the configuration cannot be converted.
Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)
Syntax
public static Exception CreateCouldNotConvertException<T>(
string name,
object value
)
public:
generic<typename T>
static Exception^ CreateCouldNotConvertException(
String^ name,
Object^ value
)
static member CreateCouldNotConvertException<'T> :
name:string *
value:Object -> Exception
Public Shared Function CreateCouldNotConvertException(Of T) (
name As String,
value As Object
) As Exception
Parameters
name
Type: System.StringThe name.
value
Type: System.ObjectThe value.
Return Value
Type: System.Exception
The created exception.
Type Parameters
- T
The type of exception.
See Also
ConfigurationHelper Class
Microsoft.WindowsAzure.Common.Internals Namespace
Return to top