StreamContent 생성자

정의

StreamContent 클래스의 새 인스턴스를 만듭니다.

오버로드

StreamContent(Stream)

StreamContent 클래스의 새 인스턴스를 만듭니다.

StreamContent(Stream, Int32)

StreamContent 클래스의 새 인스턴스를 만듭니다.

StreamContent(Stream)

Source:
StreamContent.cs
Source:
StreamContent.cs
Source:
StreamContent.cs

StreamContent 클래스의 새 인스턴스를 만듭니다.

public:
 StreamContent(System::IO::Stream ^ content);
public StreamContent (System.IO.Stream content);
new System.Net.Http.StreamContent : System.IO.Stream -> System.Net.Http.StreamContent
Public Sub New (content As Stream)

매개 변수

content
Stream

StreamContent를 초기화하는 데 사용하는 콘텐츠입니다.

설명

개체는 StreamContent 가 호출될 때 StreamContent.Dispose 제공된 개체를 Stream 호출 Dispose() 합니다.

적용 대상

StreamContent(Stream, Int32)

Source:
StreamContent.cs
Source:
StreamContent.cs
Source:
StreamContent.cs

StreamContent 클래스의 새 인스턴스를 만듭니다.

public:
 StreamContent(System::IO::Stream ^ content, int bufferSize);
public StreamContent (System.IO.Stream content, int bufferSize);
new System.Net.Http.StreamContent : System.IO.Stream * int -> System.Net.Http.StreamContent
Public Sub New (content As Stream, bufferSize As Integer)

매개 변수

content
Stream

StreamContent를 초기화하는 데 사용하는 콘텐츠입니다.

bufferSize
Int32

StreamContent에 대한 버퍼의 크기(바이트)입니다.

예외

contentnull이었습니다.

bufferSize가 0보다 작거나 같은 경우

설명

개체는 StreamContent 가 호출될 때 StreamContent.Dispose 제공된 개체를 Stream 호출 Dispose() 합니다.

적용 대상