Share via


ApplicationTypeHealthPolicyMap.Add(String, Byte) Method

Definition

Adds an entry in the map for a specific application type, with max percent unhealthy applications as value.

public void Add (string appTypeName, byte value);
override this.Add : string * byte -> unit
Public Sub Add (appTypeName As String, value As Byte)

Parameters

appTypeName
String

The application type name.

value
Byte

The max percent unhealthy applications allowed for the application type. Must be between 0 and 100.

Exceptions

The specified percentage value was outside the range of integer values from zero to 100.

Applies to