共用方式為


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 命名空間