Gnome.Vfs.VfsStreamAsyncResult Class
IAsyncResult implementation tracking a pending asynchronous Gnome.Vfs.VfsStream operation.

See Also: VfsStreamAsyncResult Members

Syntax

public class VfsStreamAsyncResult : IAsyncResult

Remarks

To wait until the operation has finished, you cannot use the System.IAsyncResult.AsyncWaitHandle since that will also block the Gnome.Vfs thread. Instead, use GLib.MainContext.Iteration like this:

C# Example

while (!asyncResult.IsCompleted) {
	GLib.MainContext.Iteration ();
}
  

Requirements

Namespace: Gnome.Vfs
Assembly: gnome-vfs-sharp (in gnome-vfs-sharp.dll)
Assembly Versions: 2.20.0.0