IRemoteDispatch 接口

定义

ServicedComponent 类实现,以确定是将远程方法调用的 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 基础结构在内部使用。

AutoCompleteAttributeClass 特性可确保在该方法返回后,在 COM + 上下文中,对象的 done 位自动设置为 true 。 然后,可以停用该对象。

IRemoteDispatch接口方法不会出现在 ServicedComponent 类接口中。 相反, ServicedComponent 显式实现 IRemoteDispatch

方法

RemoteDispatchAutoDone(String)

此 API 支持产品基础结构,不能在代码中直接使用。

确保在 COM+ 上下文中,ServicedComponent 类对象的 done 位在远程方法调用后设置为 true

RemoteDispatchNotAutoDone(String)

此 API 支持产品基础结构,不能在代码中直接使用。

不确保在 COM+ 上下文中,ServicedComponent 类对象的 done 位在远程方法调用后设置为 true

适用于

另请参阅