次の方法で共有


DomainServiceFault.ErrorMessage プロパティ

エラーの詳細情報を提供するメッセージを取得または設定します。

名前空間: System.ServiceModel.DomainServices.Hosting
アセンブリ: System.ServiceModel.DomainServices.Hosting (system.servicemodel.domainservices.hosting.dll 内)

使用方法

'使用
Dim instance As DomainServiceFault
Dim value As String

value = instance.ErrorMessage

instance.ErrorMessage = value

構文

'宣言
<DataMemberAttribute> _
Public Property ErrorMessage As String
[DataMemberAttribute] 
public string ErrorMessage { get; set; }
[DataMemberAttribute] 
public:
property String^ ErrorMessage {
    String^ get ();
    void set (String^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public String get_ErrorMessage ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_ErrorMessage (String value)
CompilerGeneratedAttribute 
public function get ErrorMessage () : String

CompilerGeneratedAttribute 
public function set ErrorMessage (value : String)

プロパティ値

エラー メッセージ。

スレッド セーフ

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

プラットフォーム

開発プラットフォーム

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000

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

参照

リファレンス

DomainServiceFault クラス
DomainServiceFault のメンバー
System.ServiceModel.DomainServices.Hosting 名前空間