Edit

Share via


NetworkReachability.Unschedule Method

Definition

Overloads

Unschedule()

Removes the NetworkRechability from the given run loop.

Unschedule(CFRunLoop, String)

Removes the NetworkRechability from the given run loop.

Unschedule()

Removes the NetworkRechability from the given run loop.

public bool Unschedule ();
member this.Unschedule : unit -> bool

Returns

True if the operation succeeded, false otherwise.

Remarks

This unschedules the notifications from the Current and the ModeDefault.

Applies to

Unschedule(CFRunLoop, String)

Removes the NetworkRechability from the given run loop.

public bool Unschedule (CoreFoundation.CFRunLoop runLoop, string mode);
member this.Unschedule : CoreFoundation.CFRunLoop * string -> bool

Parameters

runLoop
CFRunLoop

The run loop where the object was previously scheduled.

mode
String

The mode used.

Returns

True on success.

Applies to