NetworkReachability.Schedule Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Schedule() |
Schedules the delivery of the events (what is set with SetCallback) on the current loop. |
Schedule(CFRunLoop, String) |
Schedules the delivery of the events (what is set with SetCallback) on the given run loop. |
Schedule()
Schedules the delivery of the events (what is set with SetCallback) on the current loop.
public bool Schedule ();
member this.Schedule : unit -> bool
Returns
True if the operation succeeded, false otherwise.
Remarks
This schedules using the Current and the ModeDefault.
Applies to
Schedule(CFRunLoop, String)
Schedules the delivery of the events (what is set with SetCallback) on the given run loop.
public bool Schedule (CoreFoundation.CFRunLoop runLoop, string mode);
member this.Schedule : CoreFoundation.CFRunLoop * string -> bool
Parameters
- runLoop
- CFRunLoop
The run loop where the reachability callback is invoked.
- mode
- String
The run loop mode.
Returns
True if the operation succeeded, false otherwise.