internal PSBatchErrorDetail(Microsoft.Azure.Batch.BatchErrorDetail omObject)
 {
     if ((omObject == null))
     {
         throw new System.ArgumentNullException("omObject");
     }
     this.omObject = omObject;
 }
예제 #2
0
 internal BatchError(Models.BatchError protocolObject)
 {
     this.code    = protocolObject.Code;
     this.message = UtilitiesInternal.CreateObjectWithNullCheck(protocolObject.Message, o => new ErrorMessage(o).Freeze());
     this.values  = BatchErrorDetail.ConvertFromProtocolCollectionReadOnly(protocolObject.Values);
 }