ConnectionContext 클래스

정의

개별 연결에 대한 모든 정보를 캡슐화합니다.

public ref class ConnectionContext abstract
public ref class ConnectionContext abstract : IAsyncDisposable
public ref class ConnectionContext abstract : Microsoft::AspNetCore::Connections::BaseConnectionContext, IAsyncDisposable
public abstract class ConnectionContext
public abstract class ConnectionContext : IAsyncDisposable
public abstract class ConnectionContext : Microsoft.AspNetCore.Connections.BaseConnectionContext, IAsyncDisposable
type ConnectionContext = class
type ConnectionContext = class
    interface IAsyncDisposable
type ConnectionContext = class
    inherit BaseConnectionContext
    interface IAsyncDisposable
Public MustInherit Class ConnectionContext
Public MustInherit Class ConnectionContext
Implements IAsyncDisposable
Public MustInherit Class ConnectionContext
Inherits BaseConnectionContext
Implements IAsyncDisposable
상속
ConnectionContext
상속
ConnectionContext
파생
구현

생성자

ConnectionContext()

개별 연결에 대한 모든 정보를 캡슐화합니다.

속성

ConnectionClosed

클라이언트 연결이 닫혀 있을 때 트리거됩니다.

ConnectionClosed

클라이언트 연결이 닫혀 있을 때 트리거됩니다.

(다음에서 상속됨 BaseConnectionContext)
ConnectionId

추적 로그에서 이 연결을 나타내는 고유 식별자를 가져오거나 설정합니다.

ConnectionId

추적 로그에서 이 연결을 나타내는 고유 식별자를 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
Features

이 연결에서 사용할 수 있는 서버 및 미들웨어에서 제공하는 기능 컬렉션을 가져옵니다.

Features

이 연결에서 사용할 수 있는 서버 및 미들웨어에서 제공하는 기능 컬렉션을 가져옵니다.

(다음에서 상속됨 BaseConnectionContext)
Items

이 연결의 scope 내에서 데이터를 공유하는 데 사용할 수 있는 키/값 컬렉션을 가져오거나 설정합니다.

Items

이 연결의 scope 내에서 데이터를 공유하는 데 사용할 수 있는 키/값 컬렉션을 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
LocalEndPoint

이 연결의 로컬 엔드포인트를 가져오거나 설정합니다.

LocalEndPoint

이 연결의 로컬 엔드포인트를 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
RemoteEndPoint

이 연결에 대한 원격 엔드포인트를 가져오거나 설정합니다.

RemoteEndPoint

이 연결에 대한 원격 엔드포인트를 가져오거나 설정합니다.

(다음에서 상속됨 BaseConnectionContext)
Transport

이 연결에서 IDuplexPipe 데이터를 읽거나 쓰는 데 사용할 수 있는 을 가져오거나 설정합니다.

메서드

Abort()

기본 연결을 중단합니다.

Abort(ConnectionAbortedException)

기본 연결을 중단합니다.

DisposeAsync()

기본 연결에 대한 리소스를 해제합니다.

DisposeAsync()

기본 연결에 대한 리소스를 해제합니다.

(다음에서 상속됨 BaseConnectionContext)

확장 메서드

GetHttpContext(ConnectionContext)

연결이 HttpContext 있는 경우 연결과 연결된 를 가져옵니다.

적용 대상