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
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- eventType
Type: System.String
- filterExpression
Type: System.String
- preferences
Type: Microsoft.TeamFoundation.Framework.Server.DeliveryPreference
- classification
Type: System.String
Return Value
Type: System.Int32
.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.