Visual Basic (Declaration) | |
---|---|
Public Overloads MustOverride Function Create( _ ByVal contextExtensionType As Type _ ) As Context |
C# | |
---|---|
public abstract Context Create( Type contextExtensionType ) |
C++/CLI | |
---|---|
public: abstract Context^ Create( Type^ contextExtensionType ) |
Parameters
- contextExtensionType
- Type to use for ContextExtension of new Context.
Return Value
A handle to the newly created context.Exception | Description |
---|---|
System.ArgumentException | Thrown if contextExtensionType is not supported. |
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)