Share via


Metodo ISubscriber.ProcessEvent

Metodo chiamato quando un evento viene generato che rientra nel tipo sottoscritto elenco

Spazio dei nomi:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Sintassi

'Dichiarazione
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
)

Parametri

  • notificationEventArgs
    Tipo: System.Object
    Oggetto che è stato pubblicato
  • statusCode
    Tipo: System.Int32%
    Codice per tornare all'utente quando un punto decisivo ha esito negativo
  • statusMessage
    Tipo: System.String%
    Messaggio da restituire all'utente quando un punto decisivo ha esito negativo

Valore restituito

Tipo: Microsoft.TeamFoundation.Framework.Server.EventNotificationStatus
Sttus di elaborazione degli eventi.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ISubscriber Interfaccia

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server