ViewAddInBase Class

System Center
 

Updated: June 20, 2017

Applies To: System Center 2016 - Virtual Machine Manager

The base class for an add-in that supplies a view to the console.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

System.Object
  System.MarshalByRefObject
    System.AddIn.Pipeline.ContractBase
      Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.VmmAddInBase
        Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.ViewAddInBase

[AddInBaseAttribute]
public abstract class ViewAddInBase : VmmAddInBase

NameDescription
System_CAPS_protmethodViewAddInBase()

Creates a new instance of the class with default values.

NameDescription
System_CAPS_pubpropertyCurrentScopeObject

Gets the backing Virtual Machine Manager object of the currently selected console navigation tree item.

System_CAPS_pubpropertyCurrentScopeType

Gets the currently selected console navigation tree item’s scope type.

System_CAPS_protpropertyPowerShellContext

Gets the PowerShell context object which provides scripting access.(Inherited from VmmAddInBase.)

System_CAPS_pubpropertyUserDetails

Gets the current user’s details object.(Inherited from VmmAddInBase.)

NameDescription
System_CAPS_pubmethodAcquireLifetimeToken()

(Inherited from ContractBase.)

System_CAPS_pubmethodCheckIfEnabledFor(IList<ContextObject>)

Determines if the ribbon button represented by this add-in is enabled for the provided context objects.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodCreateObjRef(Type)

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodCreateViewControl()

Called by the add-in framework to get the view control used by the console for this add-in.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetButtonLabelString()

Returns the string shown on the ribbon button label.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodGetRemoteHashCode()

(Inherited from ContractBase.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodInitializeLifetimeService()

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

(Inherited from MarshalByRefObject.)

System_CAPS_protmethodOnFinalRevoke()

Called by the N:System.Addin framework. Calls the OnUnload method.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodOnHide()

Called after the add-in view is hidden from the console.

System_CAPS_pubmethodOnLoad()

Called when the add-in first loads.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodOnShow()

Called before the add-in view is shown in the console.

System_CAPS_pubmethodOnUnload()

Called when the add-in is unloaded.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodQueryContract(String)

(Inherited from ContractBase.)

System_CAPS_pubmethodRemoteEquals(IContract)

(Inherited from ContractBase.)

System_CAPS_pubmethodRemoteToString()

(Inherited from ContractBase.)

System_CAPS_pubmethodRenewal(ILease)

(Inherited from ContractBase.)

System_CAPS_pubmethodRevokeLifetimeToken(Int32)

(Inherited from ContractBase.)

System_CAPS_pubmethodSetAdminConsoleWindowAsParentOf(Window)

This method can be called to set the parent of a window to the Virtual Machine Manager console window.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodSetCurrentScope(AddInContextType, ContextObject)

Called by the add-in framework when the selected item in the console navigation tree has changed.

System_CAPS_pubmethodSetParentWindow(IntPtr)

For internal use only. Called by the add-in framework to keep reference to the Virtual Machine Manager console window.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodSetPowerShellContext(PowerShellContext)

For internal use only. Called by the add-in framework to provide the current add-in reference to the PowerShell context object instance.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodSetUserDetails(UserDetails)

For internal use only. Called by the add-in framework to provide the current add-in reference to the current console user.(Inherited from VmmAddInBase.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: