RemotingClientProxy 類別

定義

由 Soapsuds 工具(Soapsuds.exe)產生的已知物件代理的抽象基底類別。

public ref class RemotingClientProxy abstract : System::ComponentModel::Component
public abstract class RemotingClientProxy : System.ComponentModel.Component
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class RemotingClientProxy : System.ComponentModel.Component
type RemotingClientProxy = class
    inherit Component
[<System.Runtime.InteropServices.ComVisible(true)>]
type RemotingClientProxy = class
    inherit Component
Public MustInherit Class RemotingClientProxy
Inherits Component
繼承
RemotingClientProxy
屬性

備註

RemotingClientProxy 提供 Soapsuds 產生的代理常用屬性,這些代理指向知名物件(XML Web 服務)。

建構函式

名稱 Description
RemotingClientProxy()

建立 的實例 RemotingClientProxy

欄位

名稱 Description
_tp

遠端用戶端代理物件內的透明代理。

_type

表示目前代理所代表的物件類型。

_url

表示目前代理所代表的物件的網址。

屬性

名稱 Description
AllowAutoRedirect

取得或設定一個值,指示是否啟用自動處理伺服器重定向。

CanRaiseEvents

會得到一個值,表示該元件是否能引發事件。

(繼承來源 Component)
Container

得到 IContainer 包含 Component的 。

(繼承來源 Component)
Cookies

此特性目前尚未實施。 該性質回傳 null(在 Visual Basic 中為 Nothing)。

DesignMode

會得到一個值,表示目前 Component 是否處於設計模式。

(繼承來源 Component)
Domain

取得或設定網域名稱用於基本認證與摘要驗證。

EnableCookies

此特性目前尚未實施。 該性質會拋出一個 NotSupportedException

Events

會取得與此 Component連結的事件處理程序清單。

(繼承來源 Component)
Password

取得或設定密碼用於基本認證和摘要驗證。

Path

取得或設定伺服器的基礎 URL,用於請求。

PreAuthenticate

取得或設定一個值,指示是否啟用請求的預先驗證。

ProxyName

取得或設定代理伺服器名稱以用於請求。

ProxyPort

取得或設定代理伺服器的埠號用於請求。

Site

取得或設定 ISiteComponent

(繼承來源 Component)
Timeout

以毫秒計時或設定逾時,用於同步通話。

Url

取得或設定伺服器的基礎 URL,用於請求。

UserAgent

取得或設定請求的使用者代理 HTTP 標頭。

Username

取得或設定使用者名稱以進行基本的驗證與摘要驗證。

方法

名稱 Description
ConfigureProxy(Type, String)

內部。 自動設定代理,載入頻道(如果尚未載入)並建立代理。

ConnectProxy()

內部。 將代理連接到屬性 Url 指定的遠端通道。

CreateObjRef(Type)

建立物件,其中包含產生用來與遠端物件通訊之 Proxy 所需的所有相關信息。

(繼承來源 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)

適用於