This documentation is archived and is not being maintained.
SoapServerMessage.Server Property
.NET Framework 1.1
Gets the instance of the class handling the method invocation on the Web server.
[Visual Basic] Public ReadOnly Property Server As Object [C#] public object Server {get;} [C++] public: __property Object* get_Server(); [JScript] public function get Server() : Object;
Property Value
The instance of the class implementing the XML Web service.
Exceptions
| Exception Type | Condition |
|---|---|
| InvalidOperationException | SoapMessageStage is not AfterDeserialize or BeforeSerialize. |
Remarks
The Server property is an instance of the class implementing the XML Web service. If a SOAP extension knew ahead of time the type of the class, it could cast Server to that type and access properties and methods of the class implementing the XML Web service. The Server property can be accessed during AfterDeserialize or BeforeSerialize.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
SoapServerMessage Class | SoapServerMessage Members | System.Web.Services.Protocols Namespace
Show: