NetworkReachability.Unschedule 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
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.