SimpleWorkerRequest.SendResponseFromFile SimpleWorkerRequest.SendResponseFromFile SimpleWorkerRequest.SendResponseFromFile SimpleWorkerRequest.SendResponseFromFile Method

Definition

Adds the contents of a file to the response.

Overloads

SendResponseFromFile(IntPtr, Int64, Int64) SendResponseFromFile(IntPtr, Int64, Int64) SendResponseFromFile(IntPtr, Int64, Int64) SendResponseFromFile(IntPtr, Int64, Int64)

Adds the contents of the file with the specified handle to the response and specifies the starting position in the file and the number of bytes to send.

SendResponseFromFile(String, Int64, Int64) SendResponseFromFile(String, Int64, Int64) SendResponseFromFile(String, Int64, Int64) SendResponseFromFile(String, Int64, Int64)

Adds the contents of the file with the specified name to the response and specifies the starting position in the file and the number of bytes to send.

SendResponseFromFile(IntPtr, Int64, Int64) SendResponseFromFile(IntPtr, Int64, Int64) SendResponseFromFile(IntPtr, Int64, Int64) SendResponseFromFile(IntPtr, Int64, Int64)

Adds the contents of the file with the specified handle to the response and specifies the starting position in the file and the number of bytes to send.

public:
 override void SendResponseFromFile(IntPtr handle, long offset, long length);
public override void SendResponseFromFile (IntPtr handle, long offset, long length);
override this.SendResponseFromFile : nativeint * int64 * int64 -> unit
Public Overrides Sub SendResponseFromFile (handle As IntPtr, offset As Long, length As Long)

Parameters

handle
IntPtr IntPtr IntPtr IntPtr

The handle of the file to send.

offset
Int64 Int64 Int64 Int64

The starting position in the file.

length
Int64 Int64 Int64 Int64

The number of bytes to send.

SendResponseFromFile(String, Int64, Int64) SendResponseFromFile(String, Int64, Int64) SendResponseFromFile(String, Int64, Int64) SendResponseFromFile(String, Int64, Int64)

Adds the contents of the file with the specified name to the response and specifies the starting position in the file and the number of bytes to send.

public:
 override void SendResponseFromFile(System::String ^ filename, long offset, long length);
public override void SendResponseFromFile (string filename, long offset, long length);
override this.SendResponseFromFile : string * int64 * int64 -> unit
Public Overrides Sub SendResponseFromFile (filename As String, offset As Long, length As Long)

Parameters

filename
String String String String

The name of the file to send.

offset
Int64 Int64 Int64 Int64

The starting position in the file.

length
Int64 Int64 Int64 Int64

The number of bytes to send.

Applies to