'------------------------------------------------------------------------------
' <auto-generated>
'     This code was generated by a tool.
'     Runtime Version:4.0.30319.17929
'
'     Changes to this file may cause incorrect behavior and will be lost if
'     the code is regenerated.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict Off
Option Explicit On

Imports System
Imports System.ComponentModel
Imports System.Diagnostics
Imports System.Web.Services
Imports System.Web.Services.Protocols
Imports System.Xml.Serialization

'
'This source code was auto-generated by Microsoft.VSDesigner, Version 4.0.30319.17929.
'
Namespace PrintableResultsWebService
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Web.Services.WebServiceBindingAttribute(Name:="PrintableResultsServicePort", [Namespace]:="http://medplus.com/resultsHub/observations"),  _
     System.Xml.Serialization.SoapIncludeAttribute(GetType(ProviderAccount))>  _
    Partial Public Class PrintableResultsService
        Inherits System.Web.Services.Protocols.SoapHttpClientProtocol
        
        Private getProviderAccountsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private getResultsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private getMoreResultsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private acknowledgeResultsOperationCompleted As System.Threading.SendOrPostCallback
        
        Private useDefaultCredentialsSetExplicitly As Boolean
        
        '''<remarks/>
        Public Sub New()
            MyBase.New
            Me.Url = "https://cert.hub.care360.com:443/resultsHub/observations/printable"
            If (Me.IsLocalFileSystemWebService(Me.Url) = true) Then
                Me.UseDefaultCredentials = true
                Me.useDefaultCredentialsSetExplicitly = false
            Else
                Me.useDefaultCredentialsSetExplicitly = true
            End If
        End Sub
        
        Public Shadows Property Url() As String
            Get
                Return MyBase.Url
            End Get
            Set
                If (((Me.IsLocalFileSystemWebService(MyBase.Url) = true)  _
                            AndAlso (Me.useDefaultCredentialsSetExplicitly = false))  _
                            AndAlso (Me.IsLocalFileSystemWebService(value) = false)) Then
                    MyBase.UseDefaultCredentials = false
                End If
                MyBase.Url = value
            End Set
        End Property
        
        Public Shadows Property UseDefaultCredentials() As Boolean
            Get
                Return MyBase.UseDefaultCredentials
            End Get
            Set
                MyBase.UseDefaultCredentials = value
                Me.useDefaultCredentialsSetExplicitly = true
            End Set
        End Property
        
        '''<remarks/>
        Public Event getProviderAccountsCompleted As getProviderAccountsCompletedEventHandler
        
        '''<remarks/>
        Public Event getResultsCompleted As getResultsCompletedEventHandler
        
        '''<remarks/>
        Public Event getMoreResultsCompleted As getMoreResultsCompletedEventHandler
        
        '''<remarks/>
        Public Event acknowledgeResultsCompleted As acknowledgeResultsCompletedEventHandler
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace:="http://medplus.com/resultsHub/observations", ResponseNamespace:="http://medplus.com/resultsHub/observations")>  _
        Public Function getProviderAccounts() As <System.Xml.Serialization.SoapElementAttribute("result")> ProviderAccount()
            Dim results() As Object = Me.Invoke("getProviderAccounts", New Object(-1) {})
            Return CType(results(0),ProviderAccount())
        End Function
        
        '''<remarks/>
        Public Function BegingetProviderAccounts(ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginInvoke("getProviderAccounts", New Object(-1) {}, callback, asyncState)
        End Function
        
        '''<remarks/>
        Public Function EndgetProviderAccounts(ByVal asyncResult As System.IAsyncResult) As ProviderAccount()
            Dim results() As Object = Me.EndInvoke(asyncResult)
            Return CType(results(0),ProviderAccount())
        End Function
        
        '''<remarks/>
        Public Overloads Sub getProviderAccountsAsync()
            Me.getProviderAccountsAsync(Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub getProviderAccountsAsync(ByVal userState As Object)
            If (Me.getProviderAccountsOperationCompleted Is Nothing) Then
                Me.getProviderAccountsOperationCompleted = AddressOf Me.OngetProviderAccountsOperationCompleted
            End If
            Me.InvokeAsync("getProviderAccounts", New Object(-1) {}, Me.getProviderAccountsOperationCompleted, userState)
        End Sub
        
        Private Sub OngetProviderAccountsOperationCompleted(ByVal arg As Object)
            If (Not (Me.getProviderAccountsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent getProviderAccountsCompleted(Me, New getProviderAccountsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace:="http://medplus.com/resultsHub/observations", ResponseNamespace:="http://medplus.com/resultsHub/observations")>  _
        Public Function getResults(ByVal resultsRequest As ResultsRequest) As <System.Xml.Serialization.SoapElementAttribute("result")> PrintableResultsResponse
            Dim results() As Object = Me.Invoke("getResults", New Object() {resultsRequest})
            Return CType(results(0),PrintableResultsResponse)
        End Function
        
        '''<remarks/>
        Public Function BegingetResults(ByVal resultsRequest As ResultsRequest, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginInvoke("getResults", New Object() {resultsRequest}, callback, asyncState)
        End Function
        
        '''<remarks/>
        Public Function EndgetResults(ByVal asyncResult As System.IAsyncResult) As PrintableResultsResponse
            Dim results() As Object = Me.EndInvoke(asyncResult)
            Return CType(results(0),PrintableResultsResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub getResultsAsync(ByVal resultsRequest As ResultsRequest)
            Me.getResultsAsync(resultsRequest, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub getResultsAsync(ByVal resultsRequest As ResultsRequest, ByVal userState As Object)
            If (Me.getResultsOperationCompleted Is Nothing) Then
                Me.getResultsOperationCompleted = AddressOf Me.OngetResultsOperationCompleted
            End If
            Me.InvokeAsync("getResults", New Object() {resultsRequest}, Me.getResultsOperationCompleted, userState)
        End Sub
        
        Private Sub OngetResultsOperationCompleted(ByVal arg As Object)
            If (Not (Me.getResultsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent getResultsCompleted(Me, New getResultsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace:="http://medplus.com/resultsHub/observations", ResponseNamespace:="http://medplus.com/resultsHub/observations")>  _
        Public Function getMoreResults(ByVal requestId As String) As <System.Xml.Serialization.SoapElementAttribute("result")> PrintableResultsResponse
            Dim results() As Object = Me.Invoke("getMoreResults", New Object() {requestId})
            Return CType(results(0),PrintableResultsResponse)
        End Function
        
        '''<remarks/>
        Public Function BegingetMoreResults(ByVal requestId As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginInvoke("getMoreResults", New Object() {requestId}, callback, asyncState)
        End Function
        
        '''<remarks/>
        Public Function EndgetMoreResults(ByVal asyncResult As System.IAsyncResult) As PrintableResultsResponse
            Dim results() As Object = Me.EndInvoke(asyncResult)
            Return CType(results(0),PrintableResultsResponse)
        End Function
        
        '''<remarks/>
        Public Overloads Sub getMoreResultsAsync(ByVal requestId As String)
            Me.getMoreResultsAsync(requestId, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub getMoreResultsAsync(ByVal requestId As String, ByVal userState As Object)
            If (Me.getMoreResultsOperationCompleted Is Nothing) Then
                Me.getMoreResultsOperationCompleted = AddressOf Me.OngetMoreResultsOperationCompleted
            End If
            Me.InvokeAsync("getMoreResults", New Object() {requestId}, Me.getMoreResultsOperationCompleted, userState)
        End Sub
        
        Private Sub OngetMoreResultsOperationCompleted(ByVal arg As Object)
            If (Not (Me.getMoreResultsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent getMoreResultsCompleted(Me, New getMoreResultsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        <System.Web.Services.Protocols.SoapRpcMethodAttribute("", RequestNamespace:="http://medplus.com/resultsHub/observations", ResponseNamespace:="http://medplus.com/resultsHub/observations")>  _
        Public Sub acknowledgeResults(ByVal requestId As String, ByVal result As ResultInfo, ByVal rejectionReason As String)
            Me.Invoke("acknowledgeResults", New Object() {requestId, result, rejectionReason})
        End Sub
        
        '''<remarks/>
        Public Function BeginacknowledgeResults(ByVal requestId As String, ByVal result As ResultInfo, ByVal rejectionReason As String, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return Me.BeginInvoke("acknowledgeResults", New Object() {requestId, result, rejectionReason}, callback, asyncState)
        End Function
        
        '''<remarks/>
        Public Sub EndacknowledgeResults(ByVal asyncResult As System.IAsyncResult)
            Me.EndInvoke(asyncResult)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub acknowledgeResultsAsync(ByVal requestId As String, ByVal result As ResultInfo, ByVal rejectionReason As String)
            Me.acknowledgeResultsAsync(requestId, result, rejectionReason, Nothing)
        End Sub
        
        '''<remarks/>
        Public Overloads Sub acknowledgeResultsAsync(ByVal requestId As String, ByVal result As ResultInfo, ByVal rejectionReason As String, ByVal userState As Object)
            If (Me.acknowledgeResultsOperationCompleted Is Nothing) Then
                Me.acknowledgeResultsOperationCompleted = AddressOf Me.OnacknowledgeResultsOperationCompleted
            End If
            Me.InvokeAsync("acknowledgeResults", New Object() {requestId, result, rejectionReason}, Me.acknowledgeResultsOperationCompleted, userState)
        End Sub
        
        Private Sub OnacknowledgeResultsOperationCompleted(ByVal arg As Object)
            If (Not (Me.acknowledgeResultsCompletedEvent) Is Nothing) Then
                Dim invokeArgs As System.Web.Services.Protocols.InvokeCompletedEventArgs = CType(arg,System.Web.Services.Protocols.InvokeCompletedEventArgs)
                RaiseEvent acknowledgeResultsCompleted(Me, New System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState))
            End If
        End Sub
        
        '''<remarks/>
        Public Shadows Sub CancelAsync(ByVal userState As Object)
            MyBase.CancelAsync(userState)
        End Sub
        
        Private Function IsLocalFileSystemWebService(ByVal url As String) As Boolean
            If ((url Is Nothing)  _
                        OrElse (url Is String.Empty)) Then
                Return false
            End If
            Dim wsUri As System.Uri = New System.Uri(url)
            If ((wsUri.Port >= 1024)  _
                        AndAlso (String.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) = 0)) Then
                Return true
            End If
            Return false
        End Function
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17929"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.SoapTypeAttribute([Namespace]:="java:com.medplus.serviceHub.results.webservice")>  _
    Partial Public Class ProviderAccount
        
        Private accountIdField As String
        
        Private accountNameField As String
        
        Private descriptionField As String
        
        Private descriptiveNameField As String
        
        Private internalIdField As String
        
        Private providerField As Provider
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property accountId() As String
            Get
                Return Me.accountIdField
            End Get
            Set
                Me.accountIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property accountName() As String
            Get
                Return Me.accountNameField
            End Get
            Set
                Me.accountNameField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property description() As String
            Get
                Return Me.descriptionField
            End Get
            Set
                Me.descriptionField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property descriptiveName() As String
            Get
                Return Me.descriptiveNameField
            End Get
            Set
                Me.descriptiveNameField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property internalId() As String
            Get
                Return Me.internalIdField
            End Get
            Set
                Me.internalIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property provider() As Provider
            Get
                Return Me.providerField
            End Get
            Set
                Me.providerField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17929"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.SoapTypeAttribute([Namespace]:="java:com.medplus.serviceHub.results.webservice")>  _
    Partial Public Class Provider
        
        Private descriptionField As String
        
        Private nameField As String
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property description() As String
            Get
                Return Me.descriptionField
            End Get
            Set
                Me.descriptionField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property name() As String
            Get
                Return Me.nameField
            End Get
            Set
                Me.nameField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17929"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.SoapTypeAttribute([Namespace]:="java:com.medplus.serviceHub.results.webservice.printable")>  _
    Partial Public Class ResultInfo
        
        Private arrivalDateField As System.Nullable(Of Date)
        
        Private messageControlIdField As String
        
        Private providerAcctIdField As String
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property arrivalDate() As System.Nullable(Of Date)
            Get
                Return Me.arrivalDateField
            End Get
            Set
                Me.arrivalDateField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property messageControlId() As String
            Get
                Return Me.messageControlIdField
            End Get
            Set
                Me.messageControlIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property providerAcctId() As String
            Get
                Return Me.providerAcctIdField
            End Get
            Set
                Me.providerAcctIdField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17929"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.SoapTypeAttribute([Namespace]:="java:com.medplus.serviceHub.results.webservice.printable")>  _
    Partial Public Class PrintableResultsResponse
        
        Private fileMimeTypeField As String
        
        Private fileNameField As String
        
        Private isMoreField As System.Nullable(Of Boolean)
        
        Private requestIdField As String
        
        Private resultDataField() As Byte
        
        Private resultInfoField As ResultInfo
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property fileMimeType() As String
            Get
                Return Me.fileMimeTypeField
            End Get
            Set
                Me.fileMimeTypeField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property fileName() As String
            Get
                Return Me.fileNameField
            End Get
            Set
                Me.fileNameField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property isMore() As System.Nullable(Of Boolean)
            Get
                Return Me.isMoreField
            End Get
            Set
                Me.isMoreField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property requestId() As String
            Get
                Return Me.requestIdField
            End Get
            Set
                Me.requestIdField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(DataType:="base64Binary", IsNullable:=true)>  _
        Public Property resultData() As Byte()
            Get
                Return Me.resultDataField
            End Get
            Set
                Me.resultDataField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property resultInfo() As ResultInfo
            Get
                Return Me.resultInfoField
            End Get
            Set
                Me.resultInfoField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Xml", "4.0.30319.17929"),  _
     System.SerializableAttribute(),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code"),  _
     System.Xml.Serialization.SoapTypeAttribute([Namespace]:="java:com.medplus.serviceHub.results.webservice")>  _
    Partial Public Class ResultsRequest
        
        Private endDateField As String
        
        Private maxMessagesField As System.Nullable(Of Integer)
        
        Private providerAccountIdsField() As String
        
        Private retrieveFinalsOnlyField As Boolean
        
        Private retrieveObsoleteResultsField As Boolean
        
        Private startDateField As String
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property endDate() As String
            Get
                Return Me.endDateField
            End Get
            Set
                Me.endDateField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property maxMessages() As System.Nullable(Of Integer)
            Get
                Return Me.maxMessagesField
            End Get
            Set
                Me.maxMessagesField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property providerAccountIds() As String()
            Get
                Return Me.providerAccountIdsField
            End Get
            Set
                Me.providerAccountIdsField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property retrieveFinalsOnly() As Boolean
            Get
                Return Me.retrieveFinalsOnlyField
            End Get
            Set
                Me.retrieveFinalsOnlyField = value
            End Set
        End Property
        
        '''<remarks/>
        Public Property retrieveObsoleteResults() As Boolean
            Get
                Return Me.retrieveObsoleteResultsField
            End Get
            Set
                Me.retrieveObsoleteResultsField = value
            End Set
        End Property
        
        '''<remarks/>
        <System.Xml.Serialization.SoapElementAttribute(IsNullable:=true)>  _
        Public Property startDate() As String
            Get
                Return Me.startDateField
            End Get
            Set
                Me.startDateField = value
            End Set
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")>  _
    Public Delegate Sub getProviderAccountsCompletedEventHandler(ByVal sender As Object, ByVal e As getProviderAccountsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class getProviderAccountsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As ProviderAccount()
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),ProviderAccount())
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")>  _
    Public Delegate Sub getResultsCompletedEventHandler(ByVal sender As Object, ByVal e As getResultsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class getResultsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As PrintableResultsResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),PrintableResultsResponse)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")>  _
    Public Delegate Sub getMoreResultsCompletedEventHandler(ByVal sender As Object, ByVal e As getMoreResultsCompletedEventArgs)
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929"),  _
     System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.ComponentModel.DesignerCategoryAttribute("code")>  _
    Partial Public Class getMoreResultsCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Friend Sub New(ByVal results() As Object, ByVal exception As System.Exception, ByVal cancelled As Boolean, ByVal userState As Object)
            MyBase.New(exception, cancelled, userState)
            Me.results = results
        End Sub
        
        '''<remarks/>
        Public ReadOnly Property Result() As PrintableResultsResponse
            Get
                Me.RaiseExceptionIfNecessary
                Return CType(Me.results(0),PrintableResultsResponse)
            End Get
        End Property
    End Class
    
    '''<remarks/>
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.17929")>  _
    Public Delegate Sub acknowledgeResultsCompletedEventHandler(ByVal sender As Object, ByVal e As System.ComponentModel.AsyncCompletedEventArgs)
End Namespace
