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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。