다음을 통해 공유


Binary Element

 

Applies To: Windows Server 2012 Essentials, Windows Home Server 2011, Windows Storage Server 2008 R2 Essentials, Windows Small Business Server 2011 Essentials

Specifies a managed assembly that performs a specific action. The managed assembly can be used to determine the compatibility of the add-in with the operating system, report the condition of a feature, or perform a notification or repair action.

<xs:element name="Binary" type="BinaryActionElement" />  
  
<xs:complexType name="BinaryActionElement">  
  <xs:sequence>  
    <xs:element name="Assembly" type="xs:string" maxOccurs="1" minOccurs="1" />  
    <xs:element name="Class" type="xs:string" maxOccurs="1" minOccurs="1" />  
  </xs:sequence>  
</xs:complexType>  

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

None.

Child Elements

Element Description
Assembly Element Specifies the name of the managed assembly that performs the action.
Class Element Specifies the name of the class that is used in the managed assembly.

Parent Elements

Element Description
Filter Element (Feature) Specifies whether the health add-in is applicable to the current version of the operating system.
Filter Element (HealthDefinition) Specifies whether the health definition is applicable to the current version of the operating system.
Condition Element Specifies the action that is performed to check the condition of a feature.
AlertAction Element Specifies the notification action that is performed when the specified condition occurs.
RepairAction Element Specifies the action that is performed to fix a problem.

See Also

How to: Create a Definition XML File