次の方法で共有


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 より小さいか、 より大きい場合 restrictionTypeMaxValueスローされます。

適用対象