次の方法で共有


SoapException コンストラクタ (String, XmlQualifiedName, Exception)

指定した例外メッセージ、例外コード、例外の主要原因への参照を設定して、SoapException クラスの新しいインスタンスを初期化します。

名前空間: System.Web.Services.Protocols
アセンブリ: System.Web.Services (system.web.services.dll 内)

構文

'宣言
Public Sub New ( _
    message As String, _
    code As XmlQualifiedName, _
    innerException As Exception _
)
'使用
Dim message As String
Dim code As XmlQualifiedName
Dim innerException As Exception

Dim instance As New SoapException(message, code, innerException)
public SoapException (
    string message,
    XmlQualifiedName code,
    Exception innerException
)
public:
SoapException (
    String^ message, 
    XmlQualifiedName^ code, 
    Exception^ innerException
)
public SoapException (
    String message, 
    XmlQualifiedName code, 
    Exception innerException
)
public function SoapException (
    message : String, 
    code : XmlQualifiedName, 
    innerException : Exception
)
適用できません。

パラメータ

  • message
    例外が発生した理由を示すメッセージ。このパラメータは Message プロパティを設定します。
  • code
    発生したエラーの種類を表す XmlQualifiedName。このパラメータは Code プロパティを設定します。
  • innerException
    例外の主要原因である例外。このパラメータは InnerException プロパティを設定します。

プラットフォーム

Windows 98,Windows Server 2000 SP4,Windows CE,Windows Millennium Edition,Windows Mobile for Pocket PC,Windows Mobile for Smartphone,Windows Server 2003,Windows XP Media Center Edition,Windows XP Professional x64 Edition,Windows XP SP2,Windows XP Starter Edition

Microsoft .NET Framework 3.0 は Windows Vista,Microsoft Windows XP SP2,および Windows Server 2003 SP1 でサポートされています。

バージョン情報

.NET Framework

サポート対象 : 3.0,2.0,1.1,1.0

.NET Compact Framework

サポート対象 : 2.0

参照

関連項目

SoapException クラス
SoapException メンバ
System.Web.Services.Protocols 名前空間
Message
Code
InnerException