This page is now retired and kept for archival purposes. This programming guide has been published on MSDN at http://msdn.microsoft.com/library/jj860311.aspx

The information in this topic applies only to System Center 2012 SP1.

Custom actions are add-ins that display on the Virtual Machine Manager (VMM) console as ribbon buttons. When the button is clicked by the user, custom code defined in a .NET assembly will be invoked. For more information about how to create an assembly that can be called by a custom action, see Base Classes.

To add a custom action add-in to the manifest

  1. Inside the manifest’s root XML node, create a node named ActionAddIn.

  2. Add an attribute named Contexts to the action node and node and set the value to one or more context values. For more information about which context values can be used, see Manifests.

  3. Add an attribute named ActionType to the action node and set the value to Code.

  4. Add an attribute named AssemblyName to the action node and set the value to the assembly containing the code identified by the Name attribute. This is the file name of the assembly without the extension.

  5. Add an attribute named Name to the action node. The value of this XML attribute would be the name of the System.Addin.AddinAttribute attribute from the assembly identified by the AssemblyName XML attribute.

  6. Optionally add the Icon and ShowInContextMenu attributes.

See Also