Share via


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