Sdílet prostřednictvím


FilesModelFactory.StorageFileDownloadProperties Method

Definition

Creates a new StorageFileDownloadProperties instance for mocking.

public static Azure.Storage.Files.Shares.Models.ShareFileDownloadDetails StorageFileDownloadProperties (DateTimeOffset lastModified, System.Collections.Generic.IDictionary<string,string> metadata, string contentType, string contentRange, Azure.ETag eTag, System.Collections.Generic.IEnumerable<string> contentEncoding, string cacheControl, string contentDisposition, System.Collections.Generic.IEnumerable<string> contentLanguage, string acceptRanges, DateTimeOffset copyCompletedOn, string copyStatusDescription, string copyId, string copyProgress, Uri copySource, Azure.Storage.Files.Shares.Models.CopyStatus copyStatus, byte[] fileContentHash, bool isServiceEncrypted);
static member StorageFileDownloadProperties : DateTimeOffset * System.Collections.Generic.IDictionary<string, string> * string * string * Azure.ETag * seq<string> * string * string * seq<string> * string * DateTimeOffset * string * string * string * Uri * Azure.Storage.Files.Shares.Models.CopyStatus * byte[] * bool -> Azure.Storage.Files.Shares.Models.ShareFileDownloadDetails
Public Shared Function StorageFileDownloadProperties (lastModified As DateTimeOffset, metadata As IDictionary(Of String, String), contentType As String, contentRange As String, eTag As ETag, contentEncoding As IEnumerable(Of String), cacheControl As String, contentDisposition As String, contentLanguage As IEnumerable(Of String), acceptRanges As String, copyCompletedOn As DateTimeOffset, copyStatusDescription As String, copyId As String, copyProgress As String, copySource As Uri, copyStatus As CopyStatus, fileContentHash As Byte(), isServiceEncrypted As Boolean) As ShareFileDownloadDetails

Parameters

lastModified
DateTimeOffset
contentType
String
contentRange
String
eTag
ETag
contentEncoding
IEnumerable<String>
cacheControl
String
contentDisposition
String
contentLanguage
IEnumerable<String>
acceptRanges
String
copyCompletedOn
DateTimeOffset
copyStatusDescription
String
copyId
String
copyProgress
String
copySource
Uri
copyStatus
CopyStatus
fileContentHash
Byte[]
isServiceEncrypted
Boolean

Returns

Applies to