Partager via


TeamFoundationNotificationService.UnsubscribeEvent Method

UnsubscribeEvent is used to remove an existing event subscription.

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

Syntax

'Declaration
Public Sub UnsubscribeEvent ( _
    requestContext As TeamFoundationRequestContext, _
    subscriptionId As Integer _
)
public void UnsubscribeEvent(
    TeamFoundationRequestContext requestContext,
    int subscriptionId
)
public:
virtual void UnsubscribeEvent(
    TeamFoundationRequestContext^ requestContext, 
    int subscriptionId
) sealed
abstract UnsubscribeEvent : 
        requestContext:TeamFoundationRequestContext * 
        subscriptionId:int -> unit  
override UnsubscribeEvent : 
        requestContext:TeamFoundationRequestContext * 
        subscriptionId:int -> unit
public final function UnsubscribeEvent(
    requestContext : TeamFoundationRequestContext, 
    subscriptionId : int
)

Parameters

  • subscriptionId
    Type: System.Int32

    Identifier of the subscription to remove.

.NET Framework Security

See Also

Reference

TeamFoundationNotificationService Class

Microsoft.TeamFoundation.Server.Core Namespace