移除指定的事件组。
命名空间: Microsoft.VisualStudio.Data.Services
程序集: Microsoft.VisualStudio.Data.Services(在 Microsoft.VisualStudio.Data.Services.dll 中)
语法
声明
Sub RollbackEventGroup ( _
groupId As Integer _
)
void RollbackEventGroup(
int groupId
)
void RollbackEventGroup(
int groupId
)
abstract RollbackEventGroup :
groupId:int -> unit
function RollbackEventGroup(
groupId : int
)
参数
- groupId
类型:System.Int32
表示事件组标识符的一个数值。指定0避免事件组并立即引发事件。
异常
异常 | 条件 |
---|---|
ArgumentOutOfRangeException | groupId 参数小于零或不同于零和大于计数现有事件组。 |
ArgumentException | 该组标识符是无效的。 |
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。