DicomObjects.NET10 Documentation
DicomObjects.DicomWeb Namespace / RestfulResponse Class / CreateAsync Method / CreateAsync(MultipartReader) Method
The Microsoft.AspNetCore.WebUtilities.MultipartReader used to read each section of the multipart request



In This Topic
    CreateAsync(MultipartReader) Method
    In This Topic
    Asynchronously creates a new RestfulResponse from the incoming multipart HTTP request
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(DicomObjects.DicomWeb.RestfulResponse/d__11)> 
    Public Overloads Shared Function CreateAsync( _ 
       ByVal reader As MultipartReader _ 
    ) As Task(Of RestfulResponse)
    'Usage
     
    
    Dim reader As MultipartReader
    Dim value As Task(Of RestfulResponse)
     
    value = RestfulResponse.CreateAsync(reader)
    [AsyncStateMachine(DicomObjects.DicomWeb.RestfulResponse/d__11)] 
    public static Task<RestfulResponse> CreateAsync( 
       MultipartReader reader 
    )
    [AsyncStateMachine(DicomObjects.DicomWeb.RestfulResponse/d__11)] 
    public: 
    static Task<RestfulResponse^>^ CreateAsync( 
       MultipartReader^ reader 
    ) 

    Parameters

    reader
    The Microsoft.AspNetCore.WebUtilities.MultipartReader used to read each section of the multipart request
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also