Partager via


IVsDataObjectChangeEventsBroker.EndEventGroup Method

Removes the specified event group.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

'Declaration
Sub EndEventGroup ( _
    groupId As Integer _
)
void EndEventGroup(
    int groupId
)
void EndEventGroup(
    int groupId
)
abstract EndEventGroup : 
        groupId:int -> unit
function EndEventGroup(
    groupId : int
)

Parameters

  • groupId
    Type: System.Int32

    A numerical value representing the ID of the event group to end.

Exceptions

Exception Condition
ArgumentOutOfRangeException

The groupId parameter is less than zero, or is different than zero and greater than the count of existing event groups.

ArgumentException

The group ID is not valid.

Remarks

If the specified group has a parent group, this method moves all the events from the specified group to the parent group. Otherwise, if a parent group is being ended, this method raises all the events in the current group.

.NET Framework Security

See Also

Reference

IVsDataObjectChangeEventsBroker Interface

Microsoft.VisualStudio.Data.Services Namespace