共用方式為


TeamFoundationNotificationService.SubscribeEvent Method

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'宣告
Public Function SubscribeEvent ( _
    requestContext As TeamFoundationRequestContext, _
    user As IdentityDescriptor, _
    eventType As String, _
    filterExpression As String, _
    preferences As DeliveryPreference, _
    classification As String _
) As Integer
public int SubscribeEvent(
    TeamFoundationRequestContext requestContext,
    IdentityDescriptor user,
    string eventType,
    string filterExpression,
    DeliveryPreference preferences,
    string classification
)
public:
int SubscribeEvent(
    TeamFoundationRequestContext^ requestContext, 
    IdentityDescriptor^ user, 
    String^ eventType, 
    String^ filterExpression, 
    DeliveryPreference^ preferences, 
    String^ classification
)
member SubscribeEvent : 
        requestContext:TeamFoundationRequestContext * 
        user:IdentityDescriptor * 
        eventType:string * 
        filterExpression:string * 
        preferences:DeliveryPreference * 
        classification:string -> int 
public function SubscribeEvent(
    requestContext : TeamFoundationRequestContext, 
    user : IdentityDescriptor, 
    eventType : String, 
    filterExpression : String, 
    preferences : DeliveryPreference, 
    classification : String
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

Microsoft.TeamFoundation.Framework.Server Namespace