internal PSBatchErrorDetail(Microsoft.Azure.Batch.BatchErrorDetail omObject) { if ((omObject == null)) { throw new System.ArgumentNullException("omObject"); } this.omObject = omObject; }
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); }