Visual Basic (Declaration) | |
---|---|
Public Overloads MustOverride Function Create( _ ByVal originalContext As Context _ ) As Context |
C# | |
---|---|
public abstract Context Create( Context originalContext ) |
C++/CLI | |
---|---|
public: abstract Context^ Create( Context^ originalContext ) |
Parameters
- originalContext
- The Context to be duplicated.
Return Value
A handle to the new Context.Exception | Description |
---|---|
System.ArgumentException | Is raised if originalContext is not a current, valid Context. |
The newly created Context instance will be an independent copy, with a matching ContextExtension type. All properties on the extension will match what was provided by the specific ContextExtension in originalContext when this method was called.
Target Platforms: Windows 11 Professional or Enterprise; Windows 10 Professional, Enterprise, or Education (64-bit)