Share via


ApplicationContextApplication Generic Class

Extends WindowsFormsApplication to support an application which uses a Windows Forms ApplicationContext to communicate information about its shell.

Namespace: Microsoft.Practices.CompositeUI.WinForms
Assembly: Microsoft.Practices.CompositeUI.WinForms (in microsoft.practices.compositeui.winforms.dll)

Syntax

'Declaration
Public MustInherit Class ApplicationContextApplication(Of TWorkItem As WorkItem, TShell As ApplicationContext)
    Inherits WindowsFormsApplication(Of TWorkItem, TShell)
'Usage
Dim instance As ApplicationContextApplication(Of TWorkItem, TShell)
public abstract class ApplicationContextApplication<TWorkItem,TShell> : WindowsFormsApplication<TWorkItem,TShell> where TWorkItem : WorkItem where TShell : ApplicationContext
generic<typename TWorkItem, typename TShell> where TWorkItem : WorkItem where TShell : ApplicationContext
public ref class ApplicationContextApplication abstract : public WindowsFormsApplication<TWorkItem, TShell>
J# supports the use of generic types and methods, but not the declaration of new ones.
JScript does not support generic types and methods.

Inheritance Hierarchy

System.Object
   Microsoft.Practices.CompositeUI.CabApplication
     Microsoft.Practices.CompositeUI.CabShellApplication
       Microsoft.Practices.CompositeUI.WinForms.WindowsFormsApplication
        Microsoft.Practices.CompositeUI.WinForms.ApplicationContextApplication

Thread Safety

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

See Also

Reference

ApplicationContextApplication Members
Microsoft.Practices.CompositeUI.WinForms Namespace