NWPath.EnumerateGateways 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
| Name | Description |
|---|---|
| EnumerateGateways(Action<NWEndpoint>) |
Obsolete.
|
| EnumerateGateways(Func<NWEndpoint,Boolean>) |
EnumerateGateways(Action<NWEndpoint>)
Caution
Use the overload that takes a 'Func<NWEndpoint, bool>' instead.
[System.Obsolete("Use the overload that takes a 'Func<NWEndpoint, bool>' instead.")]
public void EnumerateGateways(Action<Network.NWEndpoint> callback);
[<System.Obsolete("Use the overload that takes a 'Func<NWEndpoint, bool>' instead.")>]
member this.EnumerateGateways : Action<Network.NWEndpoint> -> unit
Parameters
- callback
- Action<NWEndpoint>
- Attributes
Applies to
EnumerateGateways(Func<NWEndpoint,Boolean>)
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public void EnumerateGateways(Func<Network.NWEndpoint,bool> callback);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.EnumerateGateways : Func<Network.NWEndpoint, bool> -> unit
Parameters
- callback
- Func<NWEndpoint,Boolean>
- Attributes