다음을 통해 공유


ExtendedRestriction(Int32) 생성자

정의

ExtendedRestriction 클래스의 새 인스턴스를 초기화합니다.

public ExtendedRestriction (int restrictionType);
new Microsoft.Media.Drm.ExtendedRestriction : int -> Microsoft.Media.Drm.ExtendedRestriction
Public Sub New (restrictionType As Integer)

매개 변수

restrictionType
Int32

확장 제한의 유형입니다. PlayReady 라이선스 계약과 함께 제공되는 PlayReady 규정 준수 규칙 문서는 추가할 수 있는 확장 가능한 제한 유형을 나타내는 정수를 지정합니다. PlayReady 규정 준수 규칙을 위반하여 정수를 전달하면 서버 SDK가 클라이언트에 오류 메시지를 반환하고 서버 이벤트 로그에 오류 이벤트를 남길 수 있습니다.

예외

가 0보다 작거나 보다 MaxValue크면 restrictionType throw됩니다.

적용 대상