共用方式為


TeamFoundationNotificationService.SubscribeEvent 方法 (TeamFoundationRequestContext, IdentityDescriptor, String, String, DeliveryPreference, String, Boolean)

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

語法

'宣告
Public Function SubscribeEvent ( _
    requestContext As TeamFoundationRequestContext, _
    user As IdentityDescriptor, _
    eventType As String, _
    filterExpression As String, _
    preferences As DeliveryPreference, _
    classification As String, _
    validate As Boolean _
) As Integer
public int SubscribeEvent(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor user,
    string eventType,
    string filterExpression,
    DeliveryPreference preferences,
    string classification,
    bool validate
)

參數

傳回值

類型:System.Int32
傳回 Int32

.NET Framework 安全性

請參閱

參考

TeamFoundationNotificationService 類別

SubscribeEvent 多載

Microsoft.TeamFoundation.Server.Core 命名空間