IRemoteDispatch 介面

定義

ServicedComponent 類別 (Class) 實作,用於判斷 Remote Method Invocation 的 AutoCompleteAttribute 類別屬性是設為 true 還是 false

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

public interface class IRemoteDispatch
[System.Runtime.InteropServices.Guid("6619a740-8154-43be-a186-0319578e02db")]
public interface IRemoteDispatch
[<System.Runtime.InteropServices.Guid("6619a740-8154-43be-a186-0319578e02db")>]
type IRemoteDispatch = interface
Public Interface IRemoteDispatch
衍生
屬性

備註

介面 IRemoteDispatch 不需要直接在程式代碼中實作。 它是由 .NET Framework 基礎結構在內部使用。

類別 AutoCompleteAttribute 屬性可確保在 COM+ 內容中,物件完成的位元會在方法傳回之後自動設定為 true 。 然後可以停用物件。

介面 IRemoteDispatch 方法不會出現在類別介面中 ServicedComponent 。 相反地, ServicedComponent 明確實作 IRemoteDispatch

方法

RemoteDispatchAutoDone(String)

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

確保在 COM+ 內容中,ServicedComponent 類別物件的 done 位元會在 Remote Method Invocation 之後設為 true

RemoteDispatchNotAutoDone(String)

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

不能確保在 COM+ 內容中,ServicedComponent 類別物件的 done 位元會在 Remote Method Invocation 之後設為 true

適用於

另請參閱