DefaultConnectionContext Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
DefaultConnectionContext() |
Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually. |
DefaultConnectionContext(String) |
Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually. |
DefaultConnectionContext(String, IDuplexPipe, IDuplexPipe) |
Creates the DefaultConnectionContext with the given |
DefaultConnectionContext()
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually.
public:
DefaultConnectionContext();
public DefaultConnectionContext ();
Public Sub New ()
Applies to
DefaultConnectionContext(String)
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
Creates the DefaultConnectionContext without Pipes to avoid upfront allocations. The caller is expected to set the Transport and Application pipes manually.
public:
DefaultConnectionContext(System::String ^ id);
public DefaultConnectionContext (string id);
new Microsoft.AspNetCore.Connections.DefaultConnectionContext : string -> Microsoft.AspNetCore.Connections.DefaultConnectionContext
Public Sub New (id As String)
Parameters
- id
- String
The ConnectionId.
Applies to
DefaultConnectionContext(String, IDuplexPipe, IDuplexPipe)
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
- Source:
- DefaultConnectionContext.cs
Creates the DefaultConnectionContext with the given transport
and application
pipes.
public:
DefaultConnectionContext(System::String ^ id, System::IO::Pipelines::IDuplexPipe ^ transport, System::IO::Pipelines::IDuplexPipe ^ application);
public DefaultConnectionContext (string id, System.IO.Pipelines.IDuplexPipe transport, System.IO.Pipelines.IDuplexPipe application);
new Microsoft.AspNetCore.Connections.DefaultConnectionContext : string * System.IO.Pipelines.IDuplexPipe * System.IO.Pipelines.IDuplexPipe -> Microsoft.AspNetCore.Connections.DefaultConnectionContext
Public Sub New (id As String, transport As IDuplexPipe, application As IDuplexPipe)
Parameters
- id
- String
The ConnectionId.
- transport
- IDuplexPipe
The Transport.
- application
- IDuplexPipe
The Application.