ComUtils.ThrowOnFailure 方法 (Int32, array<Int32 )

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

语法

声明
Public Shared Function ThrowOnFailure ( _
    hr As Integer, _
    ParamArray expectedHRFailure As Integer() _
) As Integer
public static int ThrowOnFailure(
    int hr,
    params int[] expectedHRFailure
)

参数

返回值

类型:System.Int32

.NET Framework 安全性

请参见

参考

ComUtils 类

ThrowOnFailure 重载

Microsoft.TeamFoundation.Common.Internal 命名空间