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
)
參數
- requestContext
類型:Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
要求內容發行這個事件。
- notificationType
類型:Microsoft.TeamFoundation.Framework.Server.NotificationType
DecisionPoint 或通知
- notificationEventArgs
類型:System.Object
針對發行
- statusCode
類型:System.Int32%
傳回的程式碼對使用者,當引數失敗
- statusMessage
類型:System.String%
傳回的訊息給使用者時,引數會失敗。
- properties
類型:Microsoft.TeamFoundation.Common.ExceptionPropertyCollection%
傳回的屬性給使用者時,引數會失敗。
傳回值
類型:Microsoft.TeamFoundation.Framework.Server.EventNotificationStatus
事件處理常式的 Sttus。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。