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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context this operation is run.
subscriptionId
Type: System.Int32Identifier of the subscription to remove.
.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.