Ends an event group by removing the queued event set from the group.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'宣言
Public MustOverride Sub RollbackEventGroup ( _
groupId As Integer _
)
'使用
Dim instance As DataObjectChangeEvents
Dim groupId As Integer
instance.RollbackEventGroup(groupId)
public abstract void RollbackEventGroup(
int groupId
)
public:
virtual void RollbackEventGroup(
int groupId
) abstract
public abstract function RollbackEventGroup(
groupId : int
)
Parameters
groupId
Type: System.Int32Identifier of the event group being rolled back.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The groupId parameter is less than or equal to zero or is greater than the current number of allocated groups. |
| ArgumentException | The groupId parameter is invalid. |
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataObjectChangeEvents Members