WebSocketMiddleware コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>) |
古い.
|
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>, ILoggerFactory) |
WebSocketMiddleware の新しいインスタンスを作成します。 |
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>)
注意事項
This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory.
public:
WebSocketMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::WebSocketOptions ^> ^ options);
public WebSocketMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WebSocketOptions> options);
[System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory.")]
public WebSocketMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WebSocketOptions> options);
new Microsoft.AspNetCore.WebSockets.WebSocketMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WebSocketOptions> -> Microsoft.AspNetCore.WebSockets.WebSocketMiddleware
[<System.Obsolete("This constructor has been replaced with an equivalent constructor which requires an ILoggerFactory.")>]
new Microsoft.AspNetCore.WebSockets.WebSocketMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WebSocketOptions> -> Microsoft.AspNetCore.WebSockets.WebSocketMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of WebSocketOptions))
パラメーター
- next
- RequestDelegate
- options
- IOptions<WebSocketOptions>
- 属性
適用対象
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>, ILoggerFactory)
WebSocketMiddleware の新しいインスタンスを作成します。
public:
WebSocketMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::WebSocketOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public WebSocketMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WebSocketOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.WebSockets.WebSocketMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.WebSocketOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.WebSockets.WebSocketMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of WebSocketOptions), loggerFactory As ILoggerFactory)
パラメーター
- next
- RequestDelegate
パイプラインの次のミドルウェア。
- options
- IOptions<WebSocketOptions>
構成オプション。
- loggerFactory
- ILoggerFactory
ロガーの ILoggerFactory 作成に使用されるインスタンス。