Editare

Partajați prin


IRemoteDispatch Interface

Definition

Implemented by the ServicedComponent class to determine if the AutoCompleteAttribute class attribute is set to true or false for a remote method invocation.

This API supports the product infrastructure and is not intended to be used directly from your code.

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
Derived
Attributes

Remarks

The IRemoteDispatch interface does not need to be implemented directly in your code. It is used internally by the .NET Framework infrastructure.

The AutoCompleteAttribute class attribute ensures that, in the COM+ context, the object's done bit is automatically set to true once the method returns. The object can then be deactivated.

The IRemoteDispatch interface methods do not appear in the ServicedComponent class interface. Instead, ServicedComponent explicitly implements IRemoteDispatch.

Methods

RemoteDispatchAutoDone(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Ensures that, in the COM+ context, the ServicedComponent class object's done bit is set to true after a remote method invocation.

RemoteDispatchNotAutoDone(String)

This API supports the product infrastructure and is not intended to be used directly from your code.

Does not ensure that, in the COM+ context, the ServicedComponent class object's done bit is set to true after a remote method invocation.

Applies to

See also