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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequest context this event was published in
notificationType
Type: Microsoft.TeamFoundation.Framework.Server.NotificationTypeDecisionPoint or Notification
notificationEventArgs
Type: System.ObjectObject 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
properties
Type: Microsoft.TeamFoundation.Common.ExceptionPropertyCollection%Properties 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
- 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.