iOS Guides | Samples

MonoTouch.NetworkExtension.NEEvaluateConnectionRule Class

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

See Also: NEEvaluateConnectionRule

Syntax

[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

Requirements

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

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

[read-only]
ActionNEEvaluateConnectionRuleAction. Gets the action to run when the network connection properties satisfy the rule for a new connection.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
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.