예제 #1
0
		public BlobObjectCondition(bool includeDisabledContainers, bool includeExpiredBlobs, DateTime? ifModifiedSinceTime, DateTime? ifNotModifiedSinceTime, DateTime[] ifLastModificationTimeMatch, DateTime[] ifLastModificationTimeMismatch, IUpdateOptions updateOptions, Guid? leaseId, bool isFetchingMetadata, bool isIncludingSnapshots, bool isIncludingPageBlobs, bool isIncludingAppendBlobs, bool isIncludingUncommittedBlobs, bool isDeletingOnlySnapshots, bool isRequiringNoSnapshots, bool isSkippingLastModificationTimeUpdate, ComparisonOperator? sequenceNumberOperator, long? sequenceNumber, BlobType requiredBlobType, bool isMultipleConditionalHeaderEnabled, bool isOperationOnAppendBlobsAllowed, DateTime? isRequiringLeaseIfNotModifiedSince, bool isDiskMountStateConditionRequired, bool excludeSoftDeletedBlobs, bool ensureBlobIsAlreadySoftDeleted, bool isOperationAllowedOnArchivedBlobs, bool skipLeaseCheck, DateTime? internalArchiveBlobLMT, string internalArchiveBlobGenerationId, Guid? internalArchiveRequestId, bool includeSoftDeletedBlobsOnly)
		{
			if (sequenceNumberOperator.HasValue && !sequenceNumber.HasValue || !sequenceNumberOperator.HasValue && sequenceNumber.HasValue)
			{
				throw new ArgumentException(string.Format("sequenceNumberOperator and sequenceNumber must both be set in order to apply a sequence number condition. sequenceNumberOperator = {0}, sequenceNumber = {1}.", (sequenceNumberOperator.HasValue ? sequenceNumberOperator.Value.ToString() : "<null>"), (sequenceNumber.HasValue ? sequenceNumber.Value.ToString() : "<null>")));
			}
			this.includeDisabledContainers = includeDisabledContainers;
			this.includeExpiredBlobs = includeExpiredBlobs;
			this.ifModifiedSinceTime = ifModifiedSinceTime;
			this.ifNotModifiedSinceTime = ifNotModifiedSinceTime;
			this.ifLastModificationTimeMatch = ifLastModificationTimeMatch;
			this.ifLastModificationTimeMismatch = ifLastModificationTimeMismatch;
			this.updateOptions = updateOptions;
			this.leaseId = leaseId;
			this.isFetchingMetadata = isFetchingMetadata;
			this.isIncludingSnapshots = isIncludingSnapshots;
			this.isIncludingPageBlobs = isIncludingPageBlobs;
			this.isIncludingAppendBlobs = isIncludingAppendBlobs;
			this.isIncludingUncommittedBlobs = isIncludingUncommittedBlobs;
			this.isDeletingOnlySnapshots = isDeletingOnlySnapshots;
			this.isRequiringNoSnapshots = isRequiringNoSnapshots;
			this.isSkippingLastModificationTimeUpdate = isSkippingLastModificationTimeUpdate;
			this.sequenceNumberOperator = sequenceNumberOperator;
			this.sequenceNumber = sequenceNumber;
			this.requiredBlobType = requiredBlobType;
			this.IsMultipleConditionalHeaderEnabled = isMultipleConditionalHeaderEnabled;
			this.IsCopyOperationOnAppendBlobsAllowed = isOperationOnAppendBlobsAllowed;
			this.IsRequiringLeaseIfNotModifiedSince = isRequiringLeaseIfNotModifiedSince;
			this.IsDiskMountStateConditionRequired = isDiskMountStateConditionRequired;
			this.IncludeSoftDeletedBlobsOnly = includeSoftDeletedBlobsOnly;
			this.ExcludeSoftDeletedBlobs = excludeSoftDeletedBlobs;
			this.EnsureBlobIsAlreadySoftDeleted = ensureBlobIsAlreadySoftDeleted;
			this.isOperationAllowedOnArchivedBlobs = isOperationAllowedOnArchivedBlobs;
			this.skipLeaseCheck = skipLeaseCheck;
			this.internalArchiveBlobLMT = internalArchiveBlobLMT;
			this.internalArchiveBlobGenerationId = internalArchiveBlobGenerationId;
			this.internalArchiveRequestId = internalArchiveRequestId;
		}
예제 #2
0
		public void JustDecompileGenerated_set_UpdateOptions(IUpdateOptions value)
		{
			this.updateOptions = value;
		}
예제 #3
0
 public abstract IAsyncResult BeginPutBlobFromBlocks(IAccountIdentifier identifier, string account, string container, string blob, BlobServiceVersion blobServiceVersion, byte[][] blockIdList, BlockSource[] blockSourceList, IPutBlobProperties putBlobProperties, BlobObjectCondition condition, OverwriteOption overwriteOption, IUpdateOptions updateOptions, TimeSpan timeout, RequestContext requestContext, AsyncCallback callback, object state);