BinaryContent
Represents binary content that can be sent to a cloud service as part of
a PipelineRequest.
protected BinaryContent()
Creates an instance of BinaryContent that contains the
bytes held in the provided BinaryData instance.
public static BinaryContent Create<T>(T model, ModelReaderWriterOptions options = null) where T : IPersistableModel<T>
Creates an instance of BinaryContent that contains the
bytes resulting from writing the value of the provided
IPersistableModel<T>.
Creates an instance of BinaryContent that contains the
bytes held in the provided Stream instance.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Attempts to compute the length of the underlying body content, if available.
Writes contents of this BinaryContent instance to the
provided Stream.
Writes contents of this BinaryContent instance to the
provided Stream.