共用方式為


GzipCompressionProvider 建構函式

定義

使用選項建立 GzipCompressionProvider 的新實例。

public:
 GzipCompressionProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::ResponseCompression::GzipCompressionProviderOptions ^> ^ options);
public GzipCompressionProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions> options);
new Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.ResponseCompression.GzipCompressionProviderOptions> -> Microsoft.AspNetCore.ResponseCompression.GzipCompressionProvider
Public Sub New (options As IOptions(Of GzipCompressionProviderOptions))

參數

options
IOptions<GzipCompressionProviderOptions>

這個實例的選項。

適用於