다음을 통해 공유


TeamFoundationSqlNotificationService.RegisterNotificationHierarchy 메서드 (TeamFoundationRequestContext, String, Guid, SqlNotificationCallback, Boolean)

RegisterNotificationHeirarchy 루트에서 제공된 requestContext RequestContext 각 데이터베이스에는 eventClass에 대 한 콜백을 등록 하는 데 사용 됩니다.

네임스페이스:  Microsoft.TeamFoundation.Framework.Server
어셈블리:  Microsoft.TeamFoundation.Framework.Server(Microsoft.TeamFoundation.Framework.Server.dll)

구문

‘선언
Public Function RegisterNotificationHierarchy ( _
    requestContext As TeamFoundationRequestContext, _
    databaseCategory As String, _
    eventClass As Guid, _
    callback As SqlNotificationCallback, _
    filterByAuthor As Boolean _
) As Boolean
public bool RegisterNotificationHierarchy(
    TeamFoundationRequestContext requestContext,
    string databaseCategory,
    Guid eventClass,
    SqlNotificationCallback callback,
    bool filterByAuthor
)

매개 변수

  • databaseCategory
    형식: System.String
    수신 알림 형식입니다.
  • eventClass
    형식: System.Guid
    수신 알림 형식입니다.
  • filterByAuthor
    형식: System.Boolean
    여부 호출자가 자체 제작 된 알림을 필터링 합니다.

반환 값

형식: System.Boolean
True 이면 모든 알림은 그렇지 않은 경우 false를 성공적으로 등록 된.

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

TeamFoundationSqlNotificationService 클래스

RegisterNotificationHierarchy 오버로드

Microsoft.TeamFoundation.Framework.Server 네임스페이스