Udostępnij za pośrednictwem


ComputeNode.GetRDPFile Method

Definition

Overloads

GetRDPFile(Stream, IEnumerable<BatchClientBehavior>)

Blocking call to get RDP file data targeting the compute node of the current instance and write them to a specified Stream.

GetRDPFile(String, IEnumerable<BatchClientBehavior>)

Blocking call to get RDP file data targeting the compute node of the current instance and write them to a file with the specified name.

GetRDPFile(Stream, IEnumerable<BatchClientBehavior>)

Source:
ComputeNode.cs

Blocking call to get RDP file data targeting the compute node of the current instance and write them to a specified Stream.

public void GetRDPFile (System.IO.Stream rdpStream, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetRDPFile : System.IO.Stream * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub GetRDPFile (rdpStream As Stream, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

Parameters

rdpStream
Stream

The Stream into which the RDP file data will be written. This stream will not be closed or rewound by this call.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied after the CustomBehaviors on the current object.

Applies to

GetRDPFile(String, IEnumerable<BatchClientBehavior>)

Source:
ComputeNode.cs

Blocking call to get RDP file data targeting the compute node of the current instance and write them to a file with the specified name.

public void GetRDPFile (string rdpFileNameToCreate, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.GetRDPFile : string * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub GetRDPFile (rdpFileNameToCreate As String, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

Parameters

rdpFileNameToCreate
String

The name of the RDP file to be created.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied after the CustomBehaviors on the current object.

Applies to