CloudFile.WriteRange メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
WriteRange(Stream, Int64, String, AccessCondition, FileRequestOptions, OperationContext)
範囲をファイルに書き込みます。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void WriteRange (System.IO.Stream rangeData, long startOffset, string contentMD5 = default, Microsoft.Azure.Storage.AccessCondition accessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member WriteRange : System.IO.Stream * int64 * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.WriteRange : System.IO.Stream * int64 * string * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub WriteRange (rangeData As Stream, startOffset As Long, Optional contentMD5 As String = Nothing, Optional accessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)
パラメーター
- rangeData
- Stream
データを提供するストリーム。
- startOffset
- Int64
書き込みを開始するオフセット (バイト単位) です。
- contentMD5
- String
ファイルの プロパティの設定 ContentMD5 に使用される省略可能なハッシュ値。 または空の文字列を指定できます null
。
- accessCondition
- AccessCondition
ファイルのアクセス条件を表す AccessCondition オブジェクトです。 null
の場合、条件は使用されません。
- options
- FileRequestOptions
要求の追加オプションを指定する FileRequestOptions オブジェクトです。
- operationContext
- OperationContext
現在の操作のコンテキストを表す OperationContext オブジェクトです。
- 属性
適用対象
WriteRange(Uri, Int64, Int64, Int64, Checksum, AccessCondition, FileRequestOptions, OperationContext)
ソース ファイルからこのファイルに範囲を書き込みます。
[Microsoft.Azure.Storage.DoesServiceRequest]
public virtual void WriteRange (Uri sourceUri, long sourceOffset, long count, long destOffset, Microsoft.Azure.Storage.Shared.Protocol.Checksum sourceContentChecksum = default, Microsoft.Azure.Storage.AccessCondition sourceAccessCondition = default, Microsoft.Azure.Storage.File.FileRequestOptions options = default, Microsoft.Azure.Storage.OperationContext operationContext = default);
[<Microsoft.Azure.Storage.DoesServiceRequest>]
abstract member WriteRange : Uri * int64 * int64 * int64 * Microsoft.Azure.Storage.Shared.Protocol.Checksum * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
override this.WriteRange : Uri * int64 * int64 * int64 * Microsoft.Azure.Storage.Shared.Protocol.Checksum * Microsoft.Azure.Storage.AccessCondition * Microsoft.Azure.Storage.File.FileRequestOptions * Microsoft.Azure.Storage.OperationContext -> unit
Public Overridable Sub WriteRange (sourceUri As Uri, sourceOffset As Long, count As Long, destOffset As Long, Optional sourceContentChecksum As Checksum = Nothing, Optional sourceAccessCondition As AccessCondition = Nothing, Optional options As FileRequestOptions = Nothing, Optional operationContext As OperationContext = Nothing)
パラメーター
- sourceOffset
- Int64
ソースの読み取りを開始するオフセット (バイト単位)。
- count
- Int64
書き込むバイト数
- destOffset
- Int64
書き込みを開始するオフセット (バイト単位) です。
- sourceContentChecksum
- Checksum
トランザクションの整合性を確保するために使用されるハッシュ値。 または Checksum を指定できます null
。None
- sourceAccessCondition
- AccessCondition
AccessConditionソース ファイルのアクセス条件を表す オブジェクト。 null
の場合、条件は使用されません。
- options
- FileRequestOptions
要求の追加オプションを指定する FileRequestOptions オブジェクトです。
- operationContext
- OperationContext
現在の操作のコンテキストを表すオブジェクトです。
- 属性
適用対象
Azure SDK for .NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示