NEEvaluateConnectionRule Class
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.
Creates a connection between properties of a connection and an action to be taken.
[Foundation.Register("NEEvaluateConnectionRule", true)]
public class NEEvaluateConnectionRule : Foundation.NSObject, Foundation.INSCopying, Foundation.INSSecureCoding, IDisposable
[<Foundation.Register("NEEvaluateConnectionRule", true)>]
type NEEvaluateConnectionRule = class
inherit NSObject
interface INSCoding
interface INativeObject
interface IDisposable
interface INSCopying
interface INSSecureCoding
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| NEEvaluateConnectionRule() |
Creates a new NEEvaluateConnectionRule with default values. |
| NEEvaluateConnectionRule(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| NEEvaluateConnectionRule(NSCoder) |
A constructor that initializes the object from the data stored in the unarchiver object. |
| NEEvaluateConnectionRule(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| NEEvaluateConnectionRule(String[], NEEvaluateConnectionRuleAction) |
Creates a new connection rule for the provided domains and action. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Action |
Gets the action to run when the network connection properties satisfy the rule for a new connection. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Description | (Inherited from NSObject) |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| MatchDomains |
The domains for which to run the rule. |
| ProbeUrl |
A URL for which to start a VPN if a non-success HTTP code is returned, if the rule is ConnectIfNeeded. |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| UseDnsServers |
Gets an array of DNS server names to use for resolving the destination hostname when evaluating connectivity, if the rule is ConnectIfNeeded |
| Zone | (Inherited from NSObject) |