PexRuntimeContextAttributeBase.TryCreateRuntimeContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Tries to create runtime context.
protected:
abstract bool TryCreateRuntimeContext(Microsoft::Pex::Engine::ComponentModel::IPexExplorationComponent ^ host, [Runtime::InteropServices::Out] Microsoft::Pex::Engine::RuntimeContexts::IPexRuntimeContext ^ % context);
protected abstract bool TryCreateRuntimeContext (Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent host, out Microsoft.Pex.Engine.RuntimeContexts.IPexRuntimeContext context);
abstract member TryCreateRuntimeContext : Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent * IPexRuntimeContext -> bool
Protected MustOverride Function TryCreateRuntimeContext (host As IPexExplorationComponent, ByRef context As IPexRuntimeContext) As Boolean
Parameters
- host
- Microsoft.Pex.Engine.ComponentModel.IPexExplorationComponent
The host.
- context
- Microsoft.Pex.Engine.RuntimeContexts.IPexRuntimeContext
The context.