Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- 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.