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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context this operation is run.
toolType
Type: System.StringTool type that owns the event types.
eventTypes
Type: System.Collections.Generic.IEnumerable<RegistrationEventType>Set of event types to be added to this tools events Note: Any event types specified that already exist will be updated with the values supplied. Event types that don't already exist will be added.
.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.