語言

RemotingService 類別

定義

提供遠端式 XML Web 服務的基礎實作。

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。

建構函式

名稱 Description
RemotingService()

建立 的實例 RemotingService。

屬性

名稱 Description
Application

會取得目前 HTTP 請求的應用程式物件參考。

CanRaiseEvents

取得值,指出元件是否可以引發事件。

(繼承來源 Component)
Container

取得包含 IContainer的 Component。

(繼承來源 Component)
Context

取得目前 HTTP 伺服器用來處理網頁請求的 HTTP 特定上下文。

DesignMode

取得值,這個值表示 Component 目前是否處於設計模式。

(繼承來源 Component)
Events

取得附加至這個 Component之事件處理程序的清單。

(繼承來源 Component)
Server

收到目前申請的請求 HttpServerUtility 。

Session

收到目前申請的請求 HttpSessionState 。

Site

取得或設定 ISite 的 Component。

(繼承來源 Component)
User

取得代表程式碼執行的使用者的安全上下文,包括該使用者的身份以及所屬的任何角色。

方法

名稱 Description
CreateObjRef(Type)

建立一個物件,包含產生代理伺服器所需的所有相關資訊,用於與遠端物件通訊。

(繼承來源 MarshalByRefObject)
Dispose()

釋放 Component所使用的所有資源。

(繼承來源 Component)
Dispose(Boolean)

釋放 未管理的資源, Component 並可選擇性地釋放受管理資源。

(繼承來源 Component)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetLifetimeService()
已淘汰.

擷取控制這個實例存留期原則的目前存留期服務物件。

(繼承來源 MarshalByRefObject)
GetService(Type)

傳回 物件,表示 Component 或其 Container所提供的服務。

(繼承來源 Component)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
InitializeLifetimeService()
已淘汰.

取得存留期服務物件,以控制這個實例的存留期原則。

(繼承來源 MarshalByRefObject)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 對象的淺層複本。

(繼承來源 MarshalByRefObject)
ToString()

回傳 String 包含 的名稱 Component(若有的話)。 此方法不應被覆蓋。

(繼承來源 Component)

事件

名稱 Description
Disposed

當呼叫 Dispose() 方法時,就會發生元件。

(繼承來源 Component)

適用於