CookieHandler.Read 메서드

정의

쿠키를 읽습니다.

오버로드

Name Description
Read()

기본 이름을 가진 현재 요청과 연결된 쿠키를 읽습니다.

Read(String)

지정된 이름을 가진 현재 요청과 연결된 쿠키를 읽습니다.

Read(HttpContext)

기본 이름, 도메인 및 경로가 있는 현재 요청과 연결된 쿠키를 읽습니다.

Read(String, HttpContext)

지정된 이름과 기본 도메인 및 경로가 있는 지정된 요청과 연결된 쿠키를 읽습니다.

Read()

기본 이름을 가진 현재 요청과 연결된 쿠키를 읽습니다.

public:
 cli::array <System::Byte> ^ Read();
public byte[] Read();
member this.Read : unit -> byte[]
Public Function Read () As Byte()

반품

Byte[]

쿠키 값 또는 null 쿠키를 찾을 수 없는 경우

설명

쿠키의 이름은 속성에 의해 Name 지정됩니다. 요청은 .에 의해 HttpContext.Current지정됩니다.

적용 대상

Read(String)

지정된 이름을 가진 현재 요청과 연결된 쿠키를 읽습니다.

public:
 cli::array <System::Byte> ^ Read(System::String ^ name);
public byte[] Read(string name);
member this.Read : string -> byte[]
Public Function Read (name As String) As Byte()

매개 변수

name
String

읽을 쿠키의 이름입니다.

반품

Byte[]

쿠키 값 또는 null 쿠키를 찾을 수 없는 경우

예외

name 가 있거나 비어 있습니다 null .

설명

요청이 다음으로 지정됩니다. HttpContext.Current

적용 대상

Read(HttpContext)

기본 이름, 도메인 및 경로가 있는 현재 요청과 연결된 쿠키를 읽습니다.

public:
 cli::array <System::Byte> ^ Read(System::Web::HttpContext ^ context);
public byte[] Read(System.Web.HttpContext context);
member this.Read : System.Web.HttpContext -> byte[]
Public Function Read (context As HttpContext) As Byte()

매개 변수

context
HttpContext

HttpContext 요청에 대한 것입니다.

반품

Byte[]

쿠키 값 또는 null 쿠키를 찾을 수 없는 경우

설명

쿠키의 이름은 속성에 의해 Name 지정됩니다.

적용 대상

Read(String, HttpContext)

지정된 이름과 기본 도메인 및 경로가 있는 지정된 요청과 연결된 쿠키를 읽습니다.

public:
 cli::array <System::Byte> ^ Read(System::String ^ name, System::Web::HttpContext ^ context);
public byte[] Read(string name, System.Web.HttpContext context);
member this.Read : string * System.Web.HttpContext -> byte[]
Public Function Read (name As String, context As HttpContext) As Byte()

매개 변수

name
String

읽을 쿠키의 이름입니다.

context
HttpContext

HttpContext 요청에 대한 것입니다.

반품

Byte[]

쿠키 값 또는 null 쿠키를 찾을 수 없는 경우

예외

name 가 있거나 비어 있습니다 null .

적용 대상