Método ConfigurationHelper.CreateCouldNotConvertException
Creates an exception when the configuration cannot be converted.
Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (em Microsoft.WindowsAzure.Common.dll)
Uso
'Uso
Dim name As String
Dim value As Object
Dim returnValue As Exception
returnValue = ConfigurationHelper.CreateCouldNotConvertException(name, value)
Sintaxe
'Declaração
Public Shared Function CreateCouldNotConvertException(Of T) ( _
name As String, _
value As Object _
) As Exception
public static Exception CreateCouldNotConvertException<T> (
string name,
Object value
)
public:
generic<typename T>
static Exception^ CreateCouldNotConvertException (
String^ name,
Object^ value
)
GenericParameters
- T
The type of exception.
Parâmetros
- name
The name.
- value
The value.
Valor de retorno
The created exception.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe ConfigurationHelper
Membros ConfigurationHelper
Namespace Microsoft.WindowsAzure.Common.Internals