SchedulerConnectionContext Constructors
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.
Overloads
SchedulerConnectionContext(IHpcContext)
public SchedulerConnectionContext (Microsoft.Hpc.IHpcContext hpcContext);
new Microsoft.Hpc.Scheduler.SchedulerConnectionContext : Microsoft.Hpc.IHpcContext -> Microsoft.Hpc.Scheduler.SchedulerConnectionContext
Public Sub New (hpcContext As IHpcContext)
Parameters
- hpcContext
- IHpcContext
Applies to
SchedulerConnectionContext(Func<CancellationToken,Task<String>>)
public SchedulerConnectionContext (Func<System.Threading.CancellationToken,System.Threading.Tasks.Task<string>> resolver);
new Microsoft.Hpc.Scheduler.SchedulerConnectionContext : Func<System.Threading.CancellationToken, System.Threading.Tasks.Task<string>> -> Microsoft.Hpc.Scheduler.SchedulerConnectionContext
Public Sub New (resolver As Func(Of CancellationToken, Task(Of String)))
Parameters
- resolver
- Func<CancellationToken,Task<String>>
Applies to
SchedulerConnectionContext(EndpointsConnectionString, CancellationToken)
public SchedulerConnectionContext (Microsoft.Hpc.EndpointsConnectionString connectionString, System.Threading.CancellationToken token);
new Microsoft.Hpc.Scheduler.SchedulerConnectionContext : Microsoft.Hpc.EndpointsConnectionString * System.Threading.CancellationToken -> Microsoft.Hpc.Scheduler.SchedulerConnectionContext
Public Sub New (connectionString As EndpointsConnectionString, token As CancellationToken)
Parameters
- connectionString
- EndpointsConnectionString
- token
- CancellationToken
Applies to
SchedulerConnectionContext(String, CancellationToken)
public SchedulerConnectionContext (string oldMultiFormatString, System.Threading.CancellationToken token);
new Microsoft.Hpc.Scheduler.SchedulerConnectionContext : string * System.Threading.CancellationToken -> Microsoft.Hpc.Scheduler.SchedulerConnectionContext
Public Sub New (oldMultiFormatString As String, token As CancellationToken)
Parameters
- oldMultiFormatString
- String
- token
- CancellationToken