Session.CreateSession 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.
Overloads
CreateSession(SessionStartInfo, Binding) | |
CreateSession(SessionStartInfo, Int32) |
Obsolete.
|
CreateSession(SessionStartInfo) |
CreateSession(SessionStartInfo, Binding)
public static Microsoft.Hpc.Scheduler.Session.Session CreateSession (Microsoft.Hpc.Scheduler.Session.SessionStartInfo startInfo, System.ServiceModel.Channels.Binding binding);
static member CreateSession : Microsoft.Hpc.Scheduler.Session.SessionStartInfo * System.ServiceModel.Channels.Binding -> Microsoft.Hpc.Scheduler.Session.Session
Parameters
- startInfo
- SessionStartInfo
- binding
- Binding
Returns
Applies to
CreateSession(SessionStartInfo, Int32)
Caution
This CreateSession method overload is obsolete. The timeoutMilliseconds argument is no longer supported. Please use a version that does not take a timeoutMilliseconds argument.
[System.Obsolete("This CreateSession method overload is obsolete. The timeoutMilliseconds argument is no longer supported. Please use a version that does not take a timeoutMilliseconds argument.")]
public static Microsoft.Hpc.Scheduler.Session.Session CreateSession (Microsoft.Hpc.Scheduler.Session.SessionStartInfo startInfo, int timeoutMilliseconds);
static member CreateSession : Microsoft.Hpc.Scheduler.Session.SessionStartInfo * int -> Microsoft.Hpc.Scheduler.Session.Session
Public Shared Function CreateSession (startInfo As SessionStartInfo, timeoutMilliseconds As Integer) As Session
Parameters
- startInfo
- SessionStartInfo
- timeoutMilliseconds
- Int32
Returns
- Attributes
Applies to
CreateSession(SessionStartInfo)
public static Microsoft.Hpc.Scheduler.Session.Session CreateSession (Microsoft.Hpc.Scheduler.Session.SessionStartInfo startInfo);
static member CreateSession : Microsoft.Hpc.Scheduler.Session.SessionStartInfo -> Microsoft.Hpc.Scheduler.Session.Session
Public Shared Function CreateSession (startInfo As SessionStartInfo) As Session
Parameters
- startInfo
- SessionStartInfo
Returns
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for