コード例 #1
0
ファイル: Job.cs プロジェクト: RossMerr/azure-sdk-for-net
 /// <summary>
 /// Initializes a new instance of the Job class with required arguments.
 /// </summary>
 public Job(JobProperties properties, string location)
     : this()
 {
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     this.Properties = properties;
     this.Location = location;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the Job class with required arguments.
 /// </summary>
 public Job(JobProperties properties, string location)
     : this()
 {
     if (properties == null)
     {
         throw new ArgumentNullException("properties");
     }
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     this.Properties = properties;
     this.Location   = location;
 }