Compartir a través de


PexRuntimeContextAttributeBase.TryCreateRuntimeContext Method

Definition

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.

Returns

Applies to