MethodCallMessageWrapper 類別

定義

實作 IMethodCallMessage 介面,以建立做為遠端物件上之方法呼叫的要求訊息。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

public ref class MethodCallMessageWrapper : System::Runtime::Remoting::Messaging::InternalMessageWrapper, System::Runtime::Remoting::Messaging::IMethodCallMessage
public class MethodCallMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodCallMessage
[System.Runtime.InteropServices.ComVisible(true)]
public class MethodCallMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodCallMessage
[System.Runtime.InteropServices.ComVisible(true)]
[System.Security.SecurityCritical]
public class MethodCallMessageWrapper : System.Runtime.Remoting.Messaging.InternalMessageWrapper, System.Runtime.Remoting.Messaging.IMethodCallMessage
type MethodCallMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
type MethodCallMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
[<System.Runtime.InteropServices.ComVisible(true)>]
[<System.Security.SecurityCritical>]
type MethodCallMessageWrapper = class
    inherit InternalMessageWrapper
    interface IMethodCallMessage
    interface IMethodMessage
    interface IMessage
Public Class MethodCallMessageWrapper
Inherits InternalMessageWrapper
Implements IMethodCallMessage
繼承
MethodCallMessageWrapper
屬性
實作

備註

類別MethodCallMessageWrapper是由 .NET Framework的遠端基礎結構使用。 您不需要直接建立 類別的 MethodCallMessageWrapper 實例,而是使用 IMethodCallMessage 介面。

MethodCallMessageWrapper 包裝遠端數據,以在訊息接收之間傳遞。 遠端用戶端會將訊息傳送 MethodCallMessageWrapper 至伺服器。

建構函式

MethodCallMessageWrapper(IMethodCallMessage)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

藉由包裝 MethodCallMessageWrapper 介面,初始化 IMethodCallMessage 類別的新執行個體。

欄位

WrappedMessage

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

表示由訊息包裝函式所包裝的要求或回應 IMethodMessage 介面。

(繼承來源 InternalMessageWrapper)

屬性

ArgCount

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

Args

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

HasVarArgs

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得值,指出方法是否可接受變動數目的引數。

InArgCount

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

InArgs

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得方法呼叫中未標記為 out 參數的引數陣列。

LogicalCallContext

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得目前方法呼叫的 LogicalCallContext

MethodBase

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得受呼叫方法的 MethodBase

MethodName

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得受叫用方法的名稱。

MethodSignature

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

Properties

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

IDictionary,表示遠端訊息的屬性集合。

TypeName

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得進行方法呼叫之遠端物件的完整型別名稱。

Uri

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得進行方法呼叫之遠端物件的統一資源識別元 (URI)。

方法

Equals(Object)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

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

(繼承來源 Object)
GetArg(Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在指定索引處取得方法引數當做物件。

GetArgName(Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在指定索引處取得方法引數的名稱。

GetHashCode()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

做為預設雜湊函式。

(繼承來源 Object)
GetInArg(Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在指定索引處取得未標記為 out 參數的方法引數。

GetInArgName(Int32)

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

在指定索引處取得未標記為 out 參數之方法引數的名稱。

GetType()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

傳回代表目前物件的字串。

(繼承來源 Object)

適用於

另請參閱