Delen via


TeamFoundationNotificationService.GetEventTypes Method

GetEventTypes is used to retrieve the set of events registered on the server.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function GetEventTypes ( _
    requestContext As TeamFoundationRequestContext, _
    toolType As String _
) As RegistrationEventType()
public RegistrationEventType[] GetEventTypes(
    TeamFoundationRequestContext requestContext,
    string toolType
)
public:
virtual array<RegistrationEventType^>^ GetEventTypes(
    TeamFoundationRequestContext^ requestContext, 
    String^ toolType
) sealed
abstract GetEventTypes : 
        requestContext:TeamFoundationRequestContext * 
        toolType:string -> RegistrationEventType[] 
override GetEventTypes : 
        requestContext:TeamFoundationRequestContext * 
        toolType:string -> RegistrationEventType[] 
public final function GetEventTypes(
    requestContext : TeamFoundationRequestContext, 
    toolType : String
) : RegistrationEventType[]

Parameters

  • toolType
    Type: System.String

    Optional: tool type filter. null or String.Empty will return the event types for all tools.

Return Value

Type: array<Microsoft.TeamFoundation.Framework.Server.RegistrationEventType[]
The set of EventTypes for the tool(s) requested.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

Microsoft.TeamFoundation.Server.Core Namespace