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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextContext 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 do not 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.