共用方式為


TeamFoundationNotificationService.AddEventTypes 方法

AddEventTypes 用來 publis 新事件型別為特定工具。

命名空間:  Microsoft.TeamFoundation.Server.Core
組件:  Microsoft.TeamFoundation.Server.Core (在 Microsoft.TeamFoundation.Server.Core.dll 中)

語法

'宣告
Public Sub AddEventTypes ( _
    requestContext As TeamFoundationRequestContext, _
    toolType As String, _
    eventTypes As IEnumerable(Of RegistrationEventType) _
)
public void AddEventTypes(
    TeamFoundationRequestContext requestContext,
    string toolType,
    IEnumerable<RegistrationEventType> eventTypes
)

參數

.NET Framework 安全性

請參閱

參考

TeamFoundationNotificationService 類別

Microsoft.TeamFoundation.Server.Core 命名空間