RemotingService 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供遠端 XML Web Service 的基底實作。
public ref class RemotingService : System::ComponentModel::Component
public class RemotingService : System.ComponentModel.Component
type RemotingService = class
inherit Component
Public Class RemotingService
Inherits Component
- 繼承
備註
RemotingService用來從衍生RemotingService自 類別的遠端 XML Web 服務記憶體取 ASP.NET。
建構函式
| RemotingService() |
建立 RemotingService 的執行個體。 |
屬性
| Application |
取得目前 HTTP 要求的應用程式物件的參考。 |
| CanRaiseEvents |
取得值,指出元件是否能引發事件。 (繼承來源 Component) |
| Container |
取得包含 IContainer 的 Component。 (繼承來源 Component) |
| Context |
取得 HTTP 伺服器用以處理 Web 要求的目前 HTTP 特定內容。 |
| DesignMode |
取得值,指出 Component 目前是否處於設計模式。 (繼承來源 Component) |
| Events |
取得附加在這個 Component 上的事件處理常式清單。 (繼承來源 Component) |
| Server |
取得目前要求的 HttpServerUtility。 |
| Session |
取得目前要求的 HttpSessionState。 |
| Site | (繼承來源 Component) |
| User |
取得程式碼正在代表執行之使用者的安全性內容,包括使用者的識別 (Identity) 和使用者所屬的任何角色。 |
方法
| CreateObjRef(Type) |
建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。 (繼承來源 MarshalByRefObject) |
| Dispose() |
釋放 Component 所使用的所有資源。 (繼承來源 Component) |
| Dispose(Boolean) |
釋放 Component 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。 (繼承來源 Component) |
| Equals(Object) |
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetLifetimeService() |
已淘汰.
擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。 (繼承來源 MarshalByRefObject) |
| GetService(Type) |
傳回表示 Component 或其 Container 所提供之服務的物件。 (繼承來源 Component) |
| GetType() |
取得目前執行個體的 Type。 (繼承來源 Object) |
| InitializeLifetimeService() |
已淘汰.
取得存留期服務物件,以控制這個執行個體的存留期原則。 (繼承來源 MarshalByRefObject) |
| MemberwiseClone() |
建立目前 Object 的淺層複製。 (繼承來源 Object) |
| MemberwiseClone(Boolean) |
建立目前 MarshalByRefObject 物件的淺層複本。 (繼承來源 MarshalByRefObject) |
| ToString() |
傳回任何包含 Component 名稱的 String。 不應覆寫此方法。 (繼承來源 Component) |
事件
| Disposed |
當 Dispose() 方法的呼叫處置元件時,就會發生。 (繼承來源 Component) |