DatabaseTaskHost.AsyncModelBuildingBlocker Constructor
Initializes a new instance of the DatabaseTaskHost.AsyncModelBuildingBlocker class.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
host As DatabaseTaskHost _
)
public AsyncModelBuildingBlocker(
DatabaseTaskHost host
)
public:
AsyncModelBuildingBlocker(
DatabaseTaskHost^ host
)
new :
host:DatabaseTaskHost -> AsyncModelBuildingBlocker
public function DatabaseTaskHost..::..AsyncModelBuildingBlocker(
host : DatabaseTaskHost
)
Parameters
- host
Type: Microsoft.Data.Schema.Build.DatabaseTaskHost
The database task host for which you want to stop model building.
Remarks
The constructor increments a pause count within the task host telling it to pause any more model building. However, it will not cancel the current model building thread.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.