InvokeCompletedEventArgs 类

定义

InvokeCompleted 事件提供数据。Provides data for the InvokeCompleted event.

public ref class InvokeCompletedEventArgs : System::ComponentModel::AsyncCompletedEventArgs
public class InvokeCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
type InvokeCompletedEventArgs = class
    inherit AsyncCompletedEventArgs
Public Class InvokeCompletedEventArgs
Inherits AsyncCompletedEventArgs
继承
InvokeCompletedEventArgs

注解

InvokeAsync 中使用一种 WorkflowInvoker 重载以异步方式调用工作流时,工作流宿主作者会对 InvokeCompleted 进行处理,以从完成的工作流中获取数据,或者在工作流未能完成时获取异常数据。When invoking workflows asynchronously using one of the InvokeAsync overloads in WorkflowInvoker, workflow host authors can handle InvokeCompleted to get data from the completed workflow, or exception data if the workflow failed to complete.

属性

Cancelled

获取一个值,该值指示异步操作是否已被取消。Gets a value indicating whether an asynchronous operation has been canceled.

(继承自 AsyncCompletedEventArgs)
Error

获取一个值,该值指示异步操作期间发生的错误。Gets a value indicating which error occurred during an asynchronous operation.

(继承自 AsyncCompletedEventArgs)
Outputs

从完成的工作流中获取根活动的输出自变量值的 IDictionary<TKey,TValue>Gets an IDictionary<TKey,TValue> of the root activity's output argument values from the completed workflow.

UserState

获取异步任务的唯一标识符。Gets the unique identifier for the asynchronous task.

(继承自 AsyncCompletedEventArgs)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
RaiseExceptionIfNecessary()

如果异步操作失败,则引发用户提供的异常。Raises a user-supplied exception if an asynchronous operation failed.

(继承自 AsyncCompletedEventArgs)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于