StreamContent 생성자

정의

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

오버로드

Name Description
StreamContent(Stream)

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

StreamContent(Stream, Int32)

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

StreamContent(Stream)

Source:
StreamContent.cs
Source:
StreamContent.cs
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 호출될 때 Dispose() 제공된 개체를 Stream 호출 StreamContent.Dispose 합니다.

적용 대상

StreamContent(Stream, Int32)

Source:
StreamContent.cs
Source:
StreamContent.cs
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 호출될 때 Dispose() 제공된 개체를 Stream 호출 StreamContent.Dispose 합니다.

적용 대상