iOS Guides | Samples

MonoTouch.NetworkExtension.NEEvaluateConnectionRule Class

Creates a connection between properties of a connection and an action to be taken.

See Also: NEEvaluateConnectionRule


[MonoTouch.Foundation.Register("NEEvaluateConnectionRule", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 8, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.MacOSX, 10, 10, MonoTouch.ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class NEEvaluateConnectionRule : NSObject, INSCopying, INSSecureCoding, IDisposable

Related content


Namespace: MonoTouch.NetworkExtension
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.NetworkExtension.NEEvaluateConnectionRule are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.
Creates a new connection rule for the provided domains and action.

Public Properties

ActionNEEvaluateConnectionRuleAction. Gets the action to run when the network connection properties satisfy the rule for a new connection.
ClassHandleIntPtr. The handle for this class.
MatchDomainsString[]. The domains for which to run the rule.
ProbeUrlNSUrl. A URL for which to start a VPN if a non-success HTTP code is returned, if the rule is NEEvaluateConnectionRuleAction.ConnectIfNeeded.
UseDnsServersString[]. Gets an array of DNS server names to use for resolving the destination hostname when evaluating connectivity, if the rule is NEEvaluateConnectionRuleAction.ConnectIfNeeded

Public Methods

Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.