BeforeWriteSubscription is called before a subscription is going to be written to the database.
Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Sub BeforeWriteSubscription ( _
    requestContext As TeamFoundationRequestContext, _
    subscription As Subscription _
)
void BeforeWriteSubscription(
    TeamFoundationRequestContext requestContext,
    Subscription subscription
)
void BeforeWriteSubscription(
    TeamFoundationRequestContext^ requestContext, 
    Subscription^ subscription
)
abstract BeforeWriteSubscription : 
        requestContext:TeamFoundationRequestContext * 
        subscription:Subscription -> unit
function BeforeWriteSubscription(
    requestContext : TeamFoundationRequestContext, 
    subscription : Subscription
)
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context of this call.
subscription
Type: Microsoft.TeamFoundation.Server.Core.SubscriptionThe subscription that will be persisted
.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.