次の方法で共有


ConfigurationHelper.CreateCouldNotConvertException メソッド

Creates an exception when the configuration cannot be converted.

名前空間: Microsoft.WindowsAzure.Common.Internals
アセンブリ: Microsoft.WindowsAzure.Common (Microsoft.WindowsAzure.Common.dll)

使用方法

'使用
Dim name As String
Dim value As Object
Dim returnValue As Exception

returnValue = ConfigurationHelper.CreateCouldNotConvertException(name, value)

構文

'宣言
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.

パラメーター

  • name
    The name.
  • value
    The value.

戻り値

The created exception.

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows Vista、Windows 7 および Windows Server 2008

ターゲット プラットフォーム

関連項目

リファレンス

ConfigurationHelper クラス
ConfigurationHelper のメンバー
Microsoft.WindowsAzure.Common.Internals 名前空間