Share via


IVsDataObjectChangeEventsBroker.StartEventGroup Method

Start a new event group.

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

Syntax

'Declaration
Function StartEventGroup ( _
    groupId As Integer _
) As Integer
int StartEventGroup(
    int groupId
)
int StartEventGroup(
    int groupId
)
abstract StartEventGroup : 
        groupId:int -> int
function StartEventGroup(
    groupId : int
) : int

Parameters

  • groupId
    Type: System.Int32

    A numerical value representing the parent event group ID. Specify 0 to start a top-level event group, or specify a value greater than zero to start an event group beneath this group.

Return Value

Type: System.Int32
The group ID of the new event group.

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.

.NET Framework Security

See Also

Reference

IVsDataObjectChangeEventsBroker Interface

Microsoft.VisualStudio.Data.Services Namespace