Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.Int32A 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
- 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.