DicomObjects.NET10 Documentation
DicomObjects.DicomWeb Namespace / MWLWebClient Class / MWLWebClient Constructor / MWLWebClient Constructor(String,HttpMessageHandler,Boolean)
The end-point to which the MWL requests are to be sent.
User provided HttpMessageHandler object from which the HttpClient is created
If set to true, when MWLWebClient is out of scope, the user provided handler also gets disposed. If set to false, it is the user's responsibility to dispose the handler



In This Topic
    MWLWebClient Constructor(String,HttpMessageHandler,Boolean)
    In This Topic
    Create a new MWLWebClient oject from user provided HttpMessageHandler object
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal Destination As String, _
       ByVal handler As HttpMessageHandler, _
       ByVal disposeHandler As Boolean _
    )
    'Usage
     
    
    Dim Destination As String
    Dim handler As HttpMessageHandler
    Dim disposeHandler As Boolean
     
    Dim instance As New MWLWebClient(Destination, handler, disposeHandler)

    Parameters

    Destination
    The end-point to which the MWL requests are to be sent.
    handler
    User provided HttpMessageHandler object from which the HttpClient is created
    disposeHandler
    If set to true, when MWLWebClient is out of scope, the user provided handler also gets disposed. If set to false, it is the user's responsibility to dispose the handler
    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