Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.TeamFoundation.Server.Core.WebServices
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Function SubscribeEventWithClassification ( _
    userId As String, _
    eventType As String, _
    filterExpression As String, _
    preferences As DeliveryPreference, _
    classification As String _
) As Integer
[WebMethodAttribute]
public int SubscribeEventWithClassification(
    string userId,
    string eventType,
    string filterExpression,
    DeliveryPreference preferences,
    string classification
)
[WebMethodAttribute]
public:
int SubscribeEventWithClassification(
    String^ userId, 
    String^ eventType, 
    String^ filterExpression, 
    DeliveryPreference^ preferences, 
    String^ classification
)
[<WebMethodAttribute>]
member SubscribeEventWithClassification : 
        userId:string * 
        eventType:string * 
        filterExpression:string * 
        preferences:DeliveryPreference * 
        classification:string -> int
public function SubscribeEventWithClassification(
    userId : String, 
    eventType : String, 
    filterExpression : String, 
    preferences : DeliveryPreference, 
    classification : String
) : int
Parameters
- userId
 Type: System.String
- eventType
 Type: System.String
- filterExpression
 Type: System.String
- preferences
 Type: Microsoft.TeamFoundation.Server.Core.DeliveryPreference
- classification
 Type: System.String
Return Value
Type: System.Int32
Returns 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.