public DownloadRemoteDesktopProtocolFileOptions(BatchAccountContext context, string poolId, string computeNodeId, PSComputeNode computeNode, string destinationPath,
Stream stream, IEnumerable<BatchClientBehavior> additionalBehaviors = null) : base(context, poolId, computeNodeId, computeNode, additionalBehaviors)
{
if (string.IsNullOrWhiteSpace(destinationPath) && stream == null)
{
throw new ArgumentNullException(Resources.NoDownloadDestination);
}
this.DestinationPath = destinationPath;
this.Stream = stream;
}