SoapServerMessage.Server プロパティ
Web サーバーのメソッド呼び出しを処理しているクラスのインスタンスを取得します。
Public ReadOnly Property Server As Object
[C#]
public object Server {get;}
[C++]
public: __property Object* get_Server();
[JScript]
public function get Server() : Object;
プロパティ値
XML Web サービスを実装しているクラスのインスタンス。
例外
例外の種類 | 条件 |
---|---|
InvalidOperationException | SoapMessageStage が AfterDeserialize または BeforeSerialize ではありません。 |
解説
Server プロパティは、XML Web サービスを実装しているクラスのインスタンスです。SOAP 拡張機能が事前にクラスの型を把握している場合、 Server をその型にキャストして、XML Web サービスを実装しているクラスのプロパティとメソッドにアクセスできます。 Server プロパティには、 AfterDeserialize または BeforeSerialize 中にアクセスできます。
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
SoapServerMessage クラス | SoapServerMessage メンバ | System.Web.Services.Protocols 名前空間