Share via


HpcLinqContext Class

Represents the context needed to prepare and run a LINQ to HPC query, including configuration information, a connection to a Distributed Storage Catalog (DSC) service that queries can use when they run, and a connection to an HPC cluster.

Namespace: Microsoft.Hpc.Linq
Assembly: Microsoft.Hpc.Linq (in Microsoft.Hpc.Linq.dll)

Usage

'Usage
Dim instance As HpcLinqContext

Syntax

'Declaration
Public NotInheritable Class HpcLinqContext
    Implements IDisposable
public sealed class HpcLinqContext : IDisposable
public ref class HpcLinqContext sealed : IDisposable
public final class HpcLinqContext implements IDisposable
public final class HpcLinqContext implements IDisposable

Remarks

The HpcLinqContext class is the main entry point for the LINQ to HPC framework. The context that an instance of the HpcLinqContext class maintains includes configuration information, a connection to a DSC service that queries can use when they run, and a connection to an HPC cluster.

You can reuse the same HpcLinqContext object for multiple queries and query runs.

A HpcLinqContext may keep its connections to the DSC server and HPC cluster open. To release these connections, call the Dispose method.

Platform Note: This class was introduced in Windows HPC Server 2008 R2 with Service Pack 2 (SP2) and is not supported in previous versions.

Inheritance Hierarchy

System.Object
  Microsoft.Hpc.Linq.HpcLinqContext

Thread Safety

Separate instances of this class running in separate threads are not guaranteed to work for the beta release of Windows HPC Server 2008 R2 with Service Pack 2 (SP2).

Platforms

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, with HPC Pack Client Utilities

See Also

Reference

HpcLinqContext Members
Microsoft.Hpc.Linq Namespace
HpcLinqConfiguration
DscService

Build Date:

2013-04-22