GetContext Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the oldest context from the context queue.

Namespace:  Microsoft.SPOT.Net
Assembly:  System.Ftp (in System.Ftp.dll)

Syntax

'Declaration
Public Function GetContext As FtpListenerContext
public FtpListenerContext GetContext()
public:
FtpListenerContext^ GetContext()
member GetContext : unit -> FtpListenerContext 
public function GetContext() : FtpListenerContext

Return Value

Type: Microsoft.SPOT.Net. . :: . .FtpListenerContext
The oldest context from the context queue.

Exceptions

Exception Condition
NullReferenceException

The context queue is empty.

.NET Framework Security

See Also

Reference

FtpListener Class

Microsoft.SPOT.Net Namespace