共用方式為


PlayReadyServerAuthorization 建構函式

定義

初始化 PlayReadyServerAuthorization 類別的新執行個體。

public PlayReadyServerAuthorization (Microsoft.Extensions.Options.IOptions<Microsoft.Media.Drm.Config.RMSDKConfig> options, Microsoft.Extensions.Logging.ILogger<Microsoft.Media.Drm.PlayReadyServerAuthorization> logger);
new Microsoft.Media.Drm.PlayReadyServerAuthorization : Microsoft.Extensions.Options.IOptions<Microsoft.Media.Drm.Config.RMSDKConfig> * Microsoft.Extensions.Logging.ILogger<Microsoft.Media.Drm.PlayReadyServerAuthorization> -> Microsoft.Media.Drm.PlayReadyServerAuthorization
Public Sub New (options As IOptions(Of RMSDKConfig), logger As ILogger(Of PlayReadyServerAuthorization))

參數

options
IOptions<RMSDKConfig>

此授權的組態選項。 請參閱 RMSDKConfig

logger
ILogger<PlayReadyServerAuthorization>

要用於此授權的記錄器。

適用於