WebSocketMiddleware 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>) |
사용되지 않음.
|
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>, ILoggerFactory) |
WebSocketMiddleware의 새 인스턴스를 만듭니다. |
WebSocketMiddleware(RequestDelegate, IOptions<WebSocketOptions>)
- Source:
- WebSocketMiddleware.cs
주의
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)
- Source:
- WebSocketMiddleware.cs
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 로거를 만드는 데 사용되는 instance.