Visual Basic (Declaration) | |
---|---|
Public Overridable Function GetCompositionContext( _ ByVal compositionContextName As String _ ) As CompositionContext |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As BaseCompositionContextResolver Dim compositionContextName As String Dim value As CompositionContext value = instance.GetCompositionContext(compositionContextName) |
C# | |
---|---|
public virtual CompositionContext GetCompositionContext( string compositionContextName ) |
C++/CLI | |
---|---|
public: virtual CompositionContext^ GetCompositionContext( String^ compositionContextName ) |
Parameters
- compositionContextName
If your code will not resolve the specified context name you can allow the base implementation to try. If the name cannot be resolved by any resolver then an exception will be thrown.
An InvalidOperationException will be thrown by DevForce if the name of the CompositionContext returned does not match the compositionContextName parameter. If null is returned and the CompositionContext hasn't been otherwise registered then an IdeaBladeException is thrown.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family