Edit

Share via


NetworkReachability.Schedule Method

Definition

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.

Applies to