Share via


ISubscriber.ProcessEvent-Methode

Methode aufgerufen, wenn das Ereignis veröffentlicht wird, das Fälle in den abonnierten Typ aufführen

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
)

Parameter

  • notificationEventArgs
    Typ: System.Object
    Wenden Sie ein, das veröffentlicht wurde
  • statusCode
    Typ: System.Int32%
    Code, um dem Benutzer zurückzukehren, wenn ein Entscheidungspunkt fehlschlägt
  • statusMessage
    Typ: System.String%
    Meldung, die dem Benutzer angezeigt werden sollen, wenn ein Entscheidungspunkt fehlschlägt

Rückgabewert

Typ: Microsoft.TeamFoundation.Framework.Server.EventNotificationStatus
Sttus des Ereignisverarbeitens.

.NET Framework-Sicherheit

Siehe auch

Referenz

ISubscriber Schnittstelle

Microsoft.TeamFoundation.Framework.Server-Namespace