TeamFoundationNotificationService.AddEventTypes Method

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

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.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:
void AddEventTypes(
    TeamFoundationRequestContext^ requestContext, 
    String^ toolType, 
    IEnumerable<RegistrationEventType^>^ eventTypes
)
member AddEventTypes : 
        requestContext:TeamFoundationRequestContext * 
        toolType:string * 
        eventTypes:IEnumerable<RegistrationEventType> -> unit
public 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.Framework.Server Namespace