RequestBody.CreateFromStream(Stream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an instance of RequestBody that wraps a Stream.
public:
static System::Net::ClientModel::Core::RequestBody ^ CreateFromStream(System::IO::Stream ^ stream);
public static System.Net.ClientModel.Core.RequestBody CreateFromStream(System.IO.Stream stream);
static member CreateFromStream : System.IO.Stream -> System.Net.ClientModel.Core.RequestBody
Public Shared Function CreateFromStream (stream As Stream) As RequestBody
Parameters
Returns
An instance of RequestBody that wraps a Stream.