Partager via


ISubscriber.ProcessEvent Method

Method called when the an event is published that falls in the subscribed type list

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

Syntax

'Declaration
Function ProcessEvent ( _
    requestContext As TeamFoundationRequestContext, _
    notificationType As NotificationType, _
    notificationEventArgs As Object, _
    <OutAttribute> ByRef statusCode As Integer, _
    <OutAttribute> ByRef statusMessage As String, _
    <OutAttribute> ByRef properties As ExceptionPropertyCollection _
) As EventNotificationStatus
EventNotificationStatus ProcessEvent(
    TeamFoundationRequestContext requestContext,
    NotificationType notificationType,
    Object notificationEventArgs,
    out int statusCode,
    out string statusMessage,
    out ExceptionPropertyCollection properties
)
EventNotificationStatus ProcessEvent(
    TeamFoundationRequestContext^ requestContext, 
    NotificationType notificationType, 
    Object^ notificationEventArgs, 
    [OutAttribute] int% statusCode, 
    [OutAttribute] String^% statusMessage, 
    [OutAttribute] ExceptionPropertyCollection^% properties
)
abstract ProcessEvent : 
        requestContext:TeamFoundationRequestContext * 
        notificationType:NotificationType * 
        notificationEventArgs:Object * 
        statusCode:int byref * 
        statusMessage:string byref * 
        properties:ExceptionPropertyCollection byref -> EventNotificationStatus
function ProcessEvent(
    requestContext : TeamFoundationRequestContext, 
    notificationType : NotificationType, 
    notificationEventArgs : Object, 
    statusCode : int, 
    statusMessage : String, 
    properties : ExceptionPropertyCollection
) : EventNotificationStatus

Parameters

  • notificationEventArgs
    Type: System.Object

    Object that was published

  • statusCode
    Type: System.Int32%

    Code to return to the user when a decision point fails

  • statusMessage
    Type: System.String%

    Message to return to the user when a decision point fails

Return Value

Type: Microsoft.TeamFoundation.Framework.Server.EventNotificationStatus
Sttus of the event processing.

.NET Framework Security

See Also

Reference

ISubscriber Interface

Microsoft.TeamFoundation.Framework.Server Namespace