IConstructionCallMessage 介面

定義

表示物件的建構呼叫要求。

public interface class IConstructionCallMessage : System::Runtime::Remoting::Messaging::IMethodCallMessage
public interface IConstructionCallMessage : System.Runtime.Remoting.Messaging.IMethodCallMessage
[System.Runtime.InteropServices.ComVisible(true)]
public interface IConstructionCallMessage : System.Runtime.Remoting.Messaging.IMethodCallMessage
type IConstructionCallMessage = interface
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
type IConstructionCallMessage = interface
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
Public Interface IConstructionCallMessage
Implements IMethodCallMessage
衍生
屬性
實作

備註

當使用者呼叫 或 ,並線上程返回使用者程式碼之前呼叫 newActivator.CreateInstance 建立新用戶端啟始物件的實例時, IConstructionCallMessage 會將 傳送至遠端應用程式。 當建構訊息抵達遠端應用程式時,會由遠端啟動器 (預設啟動器處理,或是在屬性) 中指定的 Activator ,並建立新的 物件。 遠端應用程式接著會將 IConstructionReturnMessage 傳回至本機應用程式。 IConstructionReturnMessage包含 的 ObjRef 實例,它會封裝遠端物件的相關資訊。 遠端基礎結構會將 ObjRef 實例轉換為遠端物件,而遠端物件會傳回給使用者程式碼。

屬性

ActivationType

取得要啟動之遠端物件的型別。

ActivationTypeName

取得要啟動之遠端型別的完整型別名稱。

Activator

取得或設定啟動遠端物件的啟動項 (Activator)。

ArgCount

取得傳遞給方法的引數數目。

(繼承來源 IMethodMessage)
Args

取得傳遞給方法的引數陣列。

(繼承來源 IMethodMessage)
CallSiteActivationAttributes

取得呼叫站台啟動過程屬性 (Attribute)。

ContextProperties

取得內容屬性清單,此內容屬性定義要建立物件的內容。

HasVarArgs

取得值,指出訊息是否具有變數引數。

(繼承來源 IMethodMessage)
InArgCount

取得呼叫中未標記為 out 參數的引數的數目。

(繼承來源 IMethodCallMessage)
InArgs

取得未標記為 out 參數的引數的陣列。

(繼承來源 IMethodCallMessage)
LogicalCallContext

取得目前方法呼叫的 LogicalCallContext

(繼承來源 IMethodMessage)
MethodBase

取得受呼叫方法的 MethodBase

(繼承來源 IMethodMessage)
MethodName

取得受叫用方法的名稱。

(繼承來源 IMethodMessage)
MethodSignature

取得含有方法簽章的物件。

(繼承來源 IMethodMessage)
Properties

取得 IDictionary,表示訊息之屬性的集合。

(繼承來源 IMessage)
TypeName

取得呼叫所預定的特定物件的完整 Type 名稱。

(繼承來源 IMethodMessage)
Uri

取得呼叫所預定的特定物件的 URI。

(繼承來源 IMethodMessage)

方法

GetArg(Int32)

取得當做 Object 的特定引數。

(繼承來源 IMethodMessage)
GetArgName(Int32)

取得傳遞給方法的引數的名稱。

(繼承來源 IMethodMessage)
GetInArg(Int32)

傳回未標記為 out 參數的指定引數。

(繼承來源 IMethodCallMessage)
GetInArgName(Int32)

傳回未標記為 out 參數的指定引數的名稱。

(繼承來源 IMethodCallMessage)

適用於