Class AsyncTransmitContext

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. It contians async data for transmitting of files

Inheritance
System.Object
AsyncTransmitContext
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework.Web.Internal
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7
Syntax
public class AsyncTransmitContext

Constructors

AsyncTransmitContext(HttpContextBase, String, Stream, ByteRangeRequest)

Declaration
public AsyncTransmitContext(HttpContextBase context, string contentType, Stream source, ByteRangeRequest byteRangeRequest)
Parameters
Type Name Description
System.Web.HttpContextBase context
System.String contentType
System.IO.Stream source
ByteRangeRequest byteRangeRequest

AsyncTransmitContext(HttpContextBase, String, Stream, ByteRangeRequest, Boolean)

Declaration
public AsyncTransmitContext(HttpContextBase context, string contentType, Stream source, ByteRangeRequest byteRangeRequest, bool shouldFlushPeriodically)
Parameters
Type Name Description
System.Web.HttpContextBase context
System.String contentType
System.IO.Stream source
ByteRangeRequest byteRangeRequest
System.Boolean shouldFlushPeriodically

Properties

AsyncCallback

Declaration
public AsyncCallback AsyncCallback { get; set; }
Property Value
Type Description
System.AsyncCallback

Buffer

Declaration
public byte[] Buffer { get; set; }
Property Value
Type Description
System.Byte[]

ByteRangeRequest

Declaration
public ByteRangeRequest ByteRangeRequest { get; set; }
Property Value
Type Description
ByteRangeRequest

ContentType

Declaration
public string ContentType { get; set; }
Property Value
Type Description
System.String

Context

Declaration
public HttpContextBase Context { get; set; }
Property Value
Type Description
System.Web.HttpContextBase

DeliveredBytes

Declaration
public long DeliveredBytes { get; set; }
Property Value
Type Description
System.Int64

DeliveredBytesThreshold

Declaration
public long DeliveredBytesThreshold { get; }
Property Value
Type Description
System.Int64

Exception

Declaration
public Exception Exception { get; set; }
Property Value
Type Description
System.Exception

InCall

Declaration
public bool InCall { get; set; }
Property Value
Type Description
System.Boolean

Index

Declaration
public int Index { get; set; }
Property Value
Type Description
System.Int32

IsMultiRangeRequest

Declaration
public bool IsMultiRangeRequest { get; }
Property Value
Type Description
System.Boolean

NotifiedCallBack

Declaration
public bool NotifiedCallBack { get; set; }
Property Value
Type Description
System.Boolean

RemainingBytes

Declaration
public long RemainingBytes { get; set; }
Property Value
Type Description
System.Int64

ShouldFlushPeriodically

Declaration
public bool ShouldFlushPeriodically { get; set; }
Property Value
Type Description
System.Boolean

Source

Declaration
public Stream Source { get; set; }
Property Value
Type Description
System.IO.Stream

Extension Methods