CloudException.ParseXmlOrJsonError メソッド
Parse the response content as either an XML or JSON error message.
名前空間: Microsoft.WindowsAzure
アセンブリ: Microsoft.WindowsAzure.Common (Microsoft.WindowsAzure.Common.dll)
使用方法
'使用
Dim content As String
Dim returnValue As CloudError
returnValue = CloudException.ParseXmlOrJsonError(content)
構文
'宣言
Public Shared Function ParseXmlOrJsonError ( _
content As String _
) As CloudError
public static CloudError ParseXmlOrJsonError (
string content
)
public:
static CloudError^ ParseXmlOrJsonError (
String^ content
)
public static CloudError ParseXmlOrJsonError (
String content
)
public static function ParseXmlOrJsonError (
content : String
) : CloudError
パラメーター
- content
The response content.
戻り値
An object containing the parsed error code and message.
スレッド セーフ
この型の public static (Visual Basic では Shared) メンバーはすべてスレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
Windows Vista、Windows 7 および Windows Server 2008
ターゲット プラットフォーム
関連項目
リファレンス
CloudException クラス
CloudException のメンバー
Microsoft.WindowsAzure 名前空間