Editar

Compartilhar via


IInvokable Interface

Definition

Represents an object which can be invoked asynchronously.

public interface IInvokable : IDisposable
type IInvokable = interface
    interface IDisposable
Public Interface IInvokable
Implements IDisposable
Derived
Implements

Properties

Name Description
IsCancellable

true if this request supports cancellation; false otherwise.

Methods

Name Description
GetActivityName()

Gets the activity name, which refers to both the interface name and method name.

GetArgument(Int32)

Gets the argument at the specified index.

GetArgumentCount()

Gets the number of arguments.

GetCancellationToken()

Gets the cancellation token for this request. If the request does not accept a cancellation token, this will be None.

GetDefaultResponseTimeout()

Gets the default response timeout.

GetInterfaceName()

Gets the full interface name.

GetInterfaceType()

Gets the interface type.

GetMethod()

Gets the method info object, which may be null.

GetMethodName()

Gets the method name.

GetTarget()

Gets the invocation target.

Invoke()

Invoke the object.

SetArgument(Int32, Object)

Sets the argument at the specified index.

SetTarget(ITargetHolder)

Sets the invocation target from an instance of ITargetHolder.

TryCancel()

Tries to cancel the invocation.

Applies to