Pop3Client.SaveMessageAsync

SaveMessageAsync(IConnection, string, Stream)

Fetches and save the message as a stream

public Task SaveMessageAsync(IConnection connection, string uniqueId, Stream outputStream)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
outputStreamStreamStream where message will be saved

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, string, string)

Fetches and save the message into a file

public Task SaveMessageAsync(IConnection connection, string uniqueId, string fileName)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
fileNameStringFile name for message

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, int, Stream)

Fetches and save the message as a stream

public Task SaveMessageAsync(IConnection connection, int sequenceNumber, Stream outputStream)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
outputStreamStreamStream where message will be saved

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, int, string)

Fetches and save the message into a file

public Task SaveMessageAsync(IConnection connection, int sequenceNumber, string fileName)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
fileNameStringFile name for message

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(string, Stream)

Fetches and save the message as a stream

public Task SaveMessageAsync(string uniqueId, Stream outputStream)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
outputStreamStreamStream where message will be saved

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(string, string)

Fetches and save the message into a file

public Task SaveMessageAsync(string uniqueId, string fileName)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
fileNameStringFile name for message

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(int, Stream)

Fetches and save the message as a stream

public Task SaveMessageAsync(int sequenceNumber, Stream outputStream)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
outputStreamStreamStream where message will be saved

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(int, string)

Fetches and save the message into a file

public Task SaveMessageAsync(int sequenceNumber, string fileName)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
fileNameStringFile name for message

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, string, Stream, CancellationToken)

Fetches and save the message as a stream

public Task SaveMessageAsync(IConnection connection, string uniqueId, Stream outputStream, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
outputStreamStreamStream where message will be saved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, string, string, CancellationToken)

Fetches and save the message into a file

public Task SaveMessageAsync(IConnection connection, string uniqueId, string fileName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
uniqueIdStringThe unique Id of the message
fileNameStringFile name for message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, int, Stream, CancellationToken)

Fetches and save the message as a stream

public Task SaveMessageAsync(IConnection connection, int sequenceNumber, Stream outputStream, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
outputStreamStreamStream where message will be saved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(IConnection, int, string, CancellationToken)

Fetches and save the message into a file

public Task SaveMessageAsync(IConnection connection, int sequenceNumber, string fileName, 
    CancellationToken token)
ParameterTypeDescription
connectionIConnectionConnection to a server
sequenceNumberInt32The sequence number of the message
fileNameStringFile name for message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(string, Stream, CancellationToken)

Fetches and save the message as a stream

public Task SaveMessageAsync(string uniqueId, Stream outputStream, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
outputStreamStreamStream where message will be saved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(string, string, CancellationToken)

Fetches and save the message into a file

public Task SaveMessageAsync(string uniqueId, string fileName, CancellationToken token)
ParameterTypeDescription
uniqueIdStringThe unique Id of the message
fileNameStringFile name for message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(int, Stream, CancellationToken)

Fetches and save the message as a stream

public Task SaveMessageAsync(int sequenceNumber, Stream outputStream, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
outputStreamStreamStream where message will be saved
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also


SaveMessageAsync(int, string, CancellationToken)

Fetches and save the message into a file

public Task SaveMessageAsync(int sequenceNumber, string fileName, CancellationToken token)
ParameterTypeDescription
sequenceNumberInt32The sequence number of the message
fileNameStringFile name for message
tokenCancellationTokenPropagates notification that operations should be canceled.

Return Value

Task object, with delegate for this operation

See Also