Delen via


TeamFoundationNotificationService.AddEventTypes Method

AddEventTypes is used to publis new event types for a given tool.

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

Syntax

'Declaration
Public Sub AddEventTypes ( _
    requestContext As TeamFoundationRequestContext, _
    toolType As String, _
    eventTypes As IEnumerable(Of RegistrationEventType) _
)
public void AddEventTypes(
    TeamFoundationRequestContext requestContext,
    string toolType,
    IEnumerable<RegistrationEventType> eventTypes
)
public:
virtual void AddEventTypes(
    TeamFoundationRequestContext^ requestContext, 
    String^ toolType, 
    IEnumerable<RegistrationEventType^>^ eventTypes
) sealed
abstract AddEventTypes : 
        requestContext:TeamFoundationRequestContext * 
        toolType:string * 
        eventTypes:IEnumerable<RegistrationEventType> -> unit  
override AddEventTypes : 
        requestContext:TeamFoundationRequestContext * 
        toolType:string * 
        eventTypes:IEnumerable<RegistrationEventType> -> unit
public final function AddEventTypes(
    requestContext : TeamFoundationRequestContext, 
    toolType : String, 
    eventTypes : IEnumerable<RegistrationEventType>
)

Parameters

  • toolType
    Type: System.String

    Tool type that owns the event types.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

Microsoft.TeamFoundation.Server.Core Namespace