Create a new protection state using the method
NewProtection. This method takes two
arguments: a name and a description.
IltSONET.Protection protection = IltSONET.NewProtection("InTest",
"Indicates that the communication channel is currently under test");
The name is used to identify the state in
the application. When a new protection state is created with the
name InTest, it is referred to in XML in the following way:
<protection>InTest</protection>
The description is used to provide information about the
semantics of the state. It can be used as a tooltip to display
more information about the protection state represented in a
business object. To activate the tooltip support for secondary
states, see
Customizing tooltips.