AsyncOperation.TryEnd<T> 方法

命名空间:  Microsoft.TeamFoundation.Framework.Common
程序集:  Microsoft.TeamFoundation.Common(在 Microsoft.TeamFoundation.Common.dll 中)

语法

声明
Protected Shared Function TryEnd(Of T As AsyncOperation) ( _
    result As IAsyncResult, _
    <OutAttribute> ByRef operation As T, _
    <OutAttribute> ByRef error As Exception _
) As Boolean
protected static bool TryEnd<T>(
    IAsyncResult result,
    out T operation,
    out Exception error
)
where T : AsyncOperation

类型参数

  • T

参数

  • operation
    类型:T%

返回值

类型:System.Boolean

.NET Framework 安全性

请参见

参考

AsyncOperation 类

Microsoft.TeamFoundation.Framework.Common 命名空间