TeamFoundationSqlNotificationService.RegisterNotification 메서드 (TeamFoundationRequestContext, String, Guid, SqlNotificationHandler, Boolean)
RegisterNotification 된 eventClass는 데이터베이스 내에 대 한 처리기를 등록 하는 데 사용 됩니다.
네임스페이스: Microsoft.TeamFoundation.Framework.Server
어셈블리: Microsoft.TeamFoundation.Framework.Server(Microsoft.TeamFoundation.Framework.Server.dll)
구문
‘선언
Public Function RegisterNotification ( _
requestContext As TeamFoundationRequestContext, _
databaseCategory As String, _
eventClass As Guid, _
handler As SqlNotificationHandler, _
filterByAuthor As Boolean _
) As Boolean
public bool RegisterNotification(
TeamFoundationRequestContext requestContext,
string databaseCategory,
Guid eventClass,
SqlNotificationHandler handler,
bool filterByAuthor
)
매개 변수
- requestContext
형식: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
Notfication에 연결 하는 데이터베이스입니다.
- databaseCategory
형식: System.String
수신 알림 형식입니다.
- eventClass
형식: System.Guid
알림의 받을 때 호출할 처리기 메서드.
- handler
형식: Microsoft.TeamFoundation.Framework.Server.SqlNotificationHandler
여부 호출자가 자체 제작 된 알림을 필터링 합니다.
- filterByAuthor
형식: System.Boolean
반환 값
형식: System.Boolean
알림이 성공적 이면 true를 반환 등록을 거짓 되지 않습니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.