InvokeCompletedEventArgs 类

定义

表示异步调用 Web 方法的结果。Represents the result of an asynchronously invoked web method.

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

注解

此类由类型InvokeCompletedEventHandler的委托作为参数接受。This class is accepted as an argument by delegates of the type InvokeCompletedEventHandler.

属性

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)
Results

获取 Web 方法所返回的结果。Gets the results returned by the Web method.

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()

返回一个表示当前对象的 string。Returns a string that represents the current object.

(继承自 Object)

适用于