ContentLengthOutputStream 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| ContentLengthOutputStream(ISessionOutputBuffer, Int64) |
初始化长度受限的输出流。 |
| ContentLengthOutputStream(IntPtr, JniHandleOwnership) |
初始化指定Java对象的托管包装器。 |
ContentLengthOutputStream(ISessionOutputBuffer, Int64)
初始化长度受限的输出流。
[Android.Runtime.Register(".ctor", "(Lorg/apache/http/io/SessionOutputBuffer;J)V", "")]
public ContentLengthOutputStream(Org.Apache.Http.IO.ISessionOutputBuffer? out, long contentLength);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/io/SessionOutputBuffer;J)V", "")>]
new Org.Apache.Http.Impl.IO.ContentLengthOutputStream : Org.Apache.Http.IO.ISessionOutputBuffer * int64 -> Org.Apache.Http.Impl.IO.ContentLengthOutputStream
参数
会话输出缓冲区。
- contentLength
- Int64
要写入的最大实体字节数。
- 属性
注解
本页的某些部分基于 Software Foundation 创建和共享的工作,并按照 的条款使用。
适用于
ContentLengthOutputStream(IntPtr, JniHandleOwnership)
初始化指定Java对象的托管包装器。
protected ContentLengthOutputStream(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Impl.IO.ContentLengthOutputStream : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Impl.IO.ContentLengthOutputStream
参数
- javaReference
-
IntPtr
nativeint
Java对象的 JNI 句柄。
- transfer
- JniHandleOwnership
JNI 句柄的所有权转移模式。
注解
本页的某些部分基于 Software Foundation 创建和共享的工作,并按照 的条款使用。