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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context this operation is run.
toolType
Type: System.StringOptional: 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
- 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.