ISubscriber.ProcessEvent 方法

调用的方法,并在调用订阅的类型内的事件发布时列表

命名空间:  Microsoft.TeamFoundation.Framework.Server
程序集:  Microsoft.TeamFoundation.Framework.Server(在 Microsoft.TeamFoundation.Framework.Server.dll 中)

语法

声明
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
)

参数

  • statusCode
    类型:System.Int32%
    返回的代码给用户,当决策点时失败
  • statusMessage
    类型:System.String%
    返回的消息传递给用户,当决策点时失败

返回值

类型:Microsoft.TeamFoundation.Framework.Server.EventNotificationStatus
事件处理Sttus。

.NET Framework 安全性

请参见

参考

ISubscriber 接口

Microsoft.TeamFoundation.Framework.Server 命名空间