C# Class Microsoft.R.Host.Client.RBlobStream

Inheritance: Stream
Show file Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method Description
Create ( IRBlobService blobService ) : RBlobStream
CreateAsync ( IRBlobService blobService, CancellationToken ct = default(CancellationToken) ) : Task
Destroy ( IRBlobInfo blobInfo, IRBlobService blobService ) : void
DestroyAsync ( IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken) ) : Task
Flush ( ) : void
GetBlobInfo ( ) : IRBlobInfo
Open ( IRBlobInfo blobInfo, IRBlobService blobService ) : RBlobStream
OpenAsync ( IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken) ) : Task
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SetLength ( long value ) : void
Write ( byte buffer, int offset, int count ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
RBlobStream ( IRBlobInfo blob, bool canWrite, IRBlobService blobService ) : System
ThrowIfDisposed ( [ callerName = "" ) : void

Method Details

Create() public static method

public static Create ( IRBlobService blobService ) : RBlobStream
blobService IRBlobService
return RBlobStream

CreateAsync() public static method

public static CreateAsync ( IRBlobService blobService, CancellationToken ct = default(CancellationToken) ) : Task
blobService IRBlobService
ct System.Threading.CancellationToken
return Task

Destroy() public static method

public static Destroy ( IRBlobInfo blobInfo, IRBlobService blobService ) : void
blobInfo IRBlobInfo
blobService IRBlobService
return void

DestroyAsync() public static method

public static DestroyAsync ( IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken) ) : Task
blobInfo IRBlobInfo
blobService IRBlobService
ct System.Threading.CancellationToken
return Task

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Flush() public method

public Flush ( ) : void
return void

GetBlobInfo() public method

public GetBlobInfo ( ) : IRBlobInfo
return IRBlobInfo

Open() public static method

public static Open ( IRBlobInfo blobInfo, IRBlobService blobService ) : RBlobStream
blobInfo IRBlobInfo
blobService IRBlobService
return RBlobStream

OpenAsync() public static method

public static OpenAsync ( IRBlobInfo blobInfo, IRBlobService blobService, CancellationToken ct = default(CancellationToken) ) : Task
blobInfo IRBlobInfo
blobService IRBlobService
ct System.Threading.CancellationToken
return Task

Read() public method

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
return int

Seek() public method

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
return long

SetLength() public method

public SetLength ( long value ) : void
value long
return void

Write() public method

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
return void