IVsDataObjectChangeEventsBroker.RollbackEventGroup 方法
移除指定的事件群組。
命名空間: 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 | 群組 ID 無效。 |
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。