'------------------------------------------------------------------------------
' <auto-generated>
'     Este código fue generado por una herramienta.
'     Versión de runtime:4.0.30319.544
'
'     Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
'     se vuelve a generar el código.
' </auto-generated>
'------------------------------------------------------------------------------

Option Strict On
Option Explicit On

Imports System.Runtime.Serialization

'
'This code was auto-generated by Microsoft.Silverlight.ServiceReference, version 5.0.61118.0
'
Namespace RefServWCFConverTemps
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0"),  _
     System.Runtime.Serialization.DataContractAttribute(Name:="Detalles", [Namespace]:="http://websol.aut.uah.es/ServiciosWeb/")>  _
    Partial Public Class Detalles
        Inherits Object
        Implements System.ComponentModel.INotifyPropertyChanged
        
        Private GradosField As Double
        
        Private LiteralField As String
        
        Private SonCentigradosField As Boolean
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property Grados() As Double
            Get
                Return Me.GradosField
            End Get
            Set
                If (Me.GradosField.Equals(value) <> true) Then
                    Me.GradosField = value
                    Me.RaisePropertyChanged("Grados")
                End If
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property Literal() As String
            Get
                Return Me.LiteralField
            End Get
            Set
                If (Object.ReferenceEquals(Me.LiteralField, value) <> true) Then
                    Me.LiteralField = value
                    Me.RaisePropertyChanged("Literal")
                End If
            End Set
        End Property
        
        <System.Runtime.Serialization.DataMemberAttribute()>  _
        Public Property SonCentigrados() As Boolean
            Get
                Return Me.SonCentigradosField
            End Get
            Set
                If (Me.SonCentigradosField.Equals(value) <> true) Then
                    Me.SonCentigradosField = value
                    Me.RaisePropertyChanged("SonCentigrados")
                End If
            End Set
        End Property
        
        Public Event PropertyChanged As System.ComponentModel.PropertyChangedEventHandler Implements System.ComponentModel.INotifyPropertyChanged.PropertyChanged
        
        Protected Sub RaisePropertyChanged(ByVal propertyName As String)
            Dim propertyChanged As System.ComponentModel.PropertyChangedEventHandler = Me.PropertyChangedEvent
            If (Not (propertyChanged) Is Nothing) Then
                propertyChanged(Me, New System.ComponentModel.PropertyChangedEventArgs(propertyName))
            End If
        End Sub
    End Class
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0"),  _
     System.ServiceModel.ServiceContractAttribute([Namespace]:="http://websol.aut.uah.es/ServiciosWeb/", ConfigurationName:="RefServWCFConverTemps.ServicioWCFConverTemps")>  _
    Public Interface ServicioWCFConverTemps
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://websol.aut.uah.es/ServiciosWeb/ServicioWCFConverTemps/ConvCentAFahr", ReplyAction:="http://websol.aut.uah.es/ServiciosWeb/ServicioWCFConverTemps/ConvCentAFahrRespons"& _ 
            "e")>  _
        Function BeginConvCentAFahr(ByVal gCent As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndConvCentAFahr(ByVal result As System.IAsyncResult) As Double
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://websol.aut.uah.es/ServiciosWeb/ServicioWCFConverTemps/ConvFahrACent", ReplyAction:="http://websol.aut.uah.es/ServiciosWeb/ServicioWCFConverTemps/ConvFahrACentRespons"& _ 
            "e")>  _
        Function BeginConvFahrACent(ByVal gFahr As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndConvFahrACent(ByVal result As System.IAsyncResult) As Double
        
        <System.ServiceModel.OperationContractAttribute(AsyncPattern:=true, Action:="http://websol.aut.uah.es/ServiciosWeb/ServicioWCFConverTemps/ResultadoDetallado", ReplyAction:="http://websol.aut.uah.es/ServiciosWeb/ServicioWCFConverTemps/ResultadoDetalladoRe"& _ 
            "sponse")>  _
        Function BeginResultadoDetallado(ByVal detalle As RefServWCFConverTemps.Detalles, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
        
        Function EndResultadoDetallado(ByVal result As System.IAsyncResult) As RefServWCFConverTemps.Detalles
    End Interface
    
    <System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Public Interface ServicioWCFConverTempsChannel
        Inherits RefServWCFConverTemps.ServicioWCFConverTemps, System.ServiceModel.IClientChannel
    End Interface
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class ConvCentAFahrCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public 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
        
        Public ReadOnly Property Result() As Double
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Double)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class ConvFahrACentCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public 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
        
        Public ReadOnly Property Result() As Double
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),Double)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class ResultadoDetalladoCompletedEventArgs
        Inherits System.ComponentModel.AsyncCompletedEventArgs
        
        Private results() As Object
        
        Public 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
        
        Public ReadOnly Property Result() As RefServWCFConverTemps.Detalles
            Get
                MyBase.RaiseExceptionIfNecessary
                Return CType(Me.results(0),RefServWCFConverTemps.Detalles)
            End Get
        End Property
    End Class
    
    <System.Diagnostics.DebuggerStepThroughAttribute(),  _
     System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")>  _
    Partial Public Class ServicioWCFConverTempsClient
        Inherits System.ServiceModel.ClientBase(Of RefServWCFConverTemps.ServicioWCFConverTemps)
        Implements RefServWCFConverTemps.ServicioWCFConverTemps
        
        Private onBeginConvCentAFahrDelegate As BeginOperationDelegate
        
        Private onEndConvCentAFahrDelegate As EndOperationDelegate
        
        Private onConvCentAFahrCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginConvFahrACentDelegate As BeginOperationDelegate
        
        Private onEndConvFahrACentDelegate As EndOperationDelegate
        
        Private onConvFahrACentCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginResultadoDetalladoDelegate As BeginOperationDelegate
        
        Private onEndResultadoDetalladoDelegate As EndOperationDelegate
        
        Private onResultadoDetalladoCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginOpenDelegate As BeginOperationDelegate
        
        Private onEndOpenDelegate As EndOperationDelegate
        
        Private onOpenCompletedDelegate As System.Threading.SendOrPostCallback
        
        Private onBeginCloseDelegate As BeginOperationDelegate
        
        Private onEndCloseDelegate As EndOperationDelegate
        
        Private onCloseCompletedDelegate As System.Threading.SendOrPostCallback
        
        Public Sub New()
            MyBase.New
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String)
            MyBase.New(endpointConfigurationName)
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As String)
            MyBase.New(endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal endpointConfigurationName As String, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(endpointConfigurationName, remoteAddress)
        End Sub
        
        Public Sub New(ByVal binding As System.ServiceModel.Channels.Binding, ByVal remoteAddress As System.ServiceModel.EndpointAddress)
            MyBase.New(binding, remoteAddress)
        End Sub
        
        Public Property CookieContainer() As System.Net.CookieContainer
            Get
                Dim httpCookieContainerManager As System.ServiceModel.Channels.IHttpCookieContainerManager = Me.InnerChannel.GetProperty(Of System.ServiceModel.Channels.IHttpCookieContainerManager)
                If (Not (httpCookieContainerManager) Is Nothing) Then
                    Return httpCookieContainerManager.CookieContainer
                Else
                    Return Nothing
                End If
            End Get
            Set
                Dim httpCookieContainerManager As System.ServiceModel.Channels.IHttpCookieContainerManager = Me.InnerChannel.GetProperty(Of System.ServiceModel.Channels.IHttpCookieContainerManager)
                If (Not (httpCookieContainerManager) Is Nothing) Then
                    httpCookieContainerManager.CookieContainer = value
                Else
                    Throw New System.InvalidOperationException("No se puede establecer el objeto CookieContainer. Asegúrese de que el enlace cont"& _ 
                            "iene un objeto HttpCookieContainerBindingElement.")
                End If
            End Set
        End Property
        
        Public Event ConvCentAFahrCompleted As System.EventHandler(Of ConvCentAFahrCompletedEventArgs)
        
        Public Event ConvFahrACentCompleted As System.EventHandler(Of ConvFahrACentCompletedEventArgs)
        
        Public Event ResultadoDetalladoCompleted As System.EventHandler(Of ResultadoDetalladoCompletedEventArgs)
        
        Public Event OpenCompleted As System.EventHandler(Of System.ComponentModel.AsyncCompletedEventArgs)
        
        Public Event CloseCompleted As System.EventHandler(Of System.ComponentModel.AsyncCompletedEventArgs)
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Function RefServWCFConverTemps_ServicioWCFConverTemps_BeginConvCentAFahr(ByVal gCent As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements RefServWCFConverTemps.ServicioWCFConverTemps.BeginConvCentAFahr
            Return MyBase.Channel.BeginConvCentAFahr(gCent, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Function RefServWCFConverTemps_ServicioWCFConverTemps_EndConvCentAFahr(ByVal result As System.IAsyncResult) As Double Implements RefServWCFConverTemps.ServicioWCFConverTemps.EndConvCentAFahr
            Return MyBase.Channel.EndConvCentAFahr(result)
        End Function
        
        Private Function OnBeginConvCentAFahr(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim gCent As Double = CType(inValues(0),Double)
            Return CType(Me,RefServWCFConverTemps.ServicioWCFConverTemps).BeginConvCentAFahr(gCent, callback, asyncState)
        End Function
        
        Private Function OnEndConvCentAFahr(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Double = CType(Me,RefServWCFConverTemps.ServicioWCFConverTemps).EndConvCentAFahr(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnConvCentAFahrCompleted(ByVal state As Object)
            If (Not (Me.ConvCentAFahrCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent ConvCentAFahrCompleted(Me, New ConvCentAFahrCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub ConvCentAFahrAsync(ByVal gCent As Double)
            Me.ConvCentAFahrAsync(gCent, Nothing)
        End Sub
        
        Public Overloads Sub ConvCentAFahrAsync(ByVal gCent As Double, ByVal userState As Object)
            If (Me.onBeginConvCentAFahrDelegate Is Nothing) Then
                Me.onBeginConvCentAFahrDelegate = AddressOf Me.OnBeginConvCentAFahr
            End If
            If (Me.onEndConvCentAFahrDelegate Is Nothing) Then
                Me.onEndConvCentAFahrDelegate = AddressOf Me.OnEndConvCentAFahr
            End If
            If (Me.onConvCentAFahrCompletedDelegate Is Nothing) Then
                Me.onConvCentAFahrCompletedDelegate = AddressOf Me.OnConvCentAFahrCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginConvCentAFahrDelegate, New Object() {gCent}, Me.onEndConvCentAFahrDelegate, Me.onConvCentAFahrCompletedDelegate, userState)
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Function RefServWCFConverTemps_ServicioWCFConverTemps_BeginConvFahrACent(ByVal gFahr As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements RefServWCFConverTemps.ServicioWCFConverTemps.BeginConvFahrACent
            Return MyBase.Channel.BeginConvFahrACent(gFahr, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Function RefServWCFConverTemps_ServicioWCFConverTemps_EndConvFahrACent(ByVal result As System.IAsyncResult) As Double Implements RefServWCFConverTemps.ServicioWCFConverTemps.EndConvFahrACent
            Return MyBase.Channel.EndConvFahrACent(result)
        End Function
        
        Private Function OnBeginConvFahrACent(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim gFahr As Double = CType(inValues(0),Double)
            Return CType(Me,RefServWCFConverTemps.ServicioWCFConverTemps).BeginConvFahrACent(gFahr, callback, asyncState)
        End Function
        
        Private Function OnEndConvFahrACent(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As Double = CType(Me,RefServWCFConverTemps.ServicioWCFConverTemps).EndConvFahrACent(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnConvFahrACentCompleted(ByVal state As Object)
            If (Not (Me.ConvFahrACentCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent ConvFahrACentCompleted(Me, New ConvFahrACentCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub ConvFahrACentAsync(ByVal gFahr As Double)
            Me.ConvFahrACentAsync(gFahr, Nothing)
        End Sub
        
        Public Overloads Sub ConvFahrACentAsync(ByVal gFahr As Double, ByVal userState As Object)
            If (Me.onBeginConvFahrACentDelegate Is Nothing) Then
                Me.onBeginConvFahrACentDelegate = AddressOf Me.OnBeginConvFahrACent
            End If
            If (Me.onEndConvFahrACentDelegate Is Nothing) Then
                Me.onEndConvFahrACentDelegate = AddressOf Me.OnEndConvFahrACent
            End If
            If (Me.onConvFahrACentCompletedDelegate Is Nothing) Then
                Me.onConvFahrACentCompletedDelegate = AddressOf Me.OnConvFahrACentCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginConvFahrACentDelegate, New Object() {gFahr}, Me.onEndConvFahrACentDelegate, Me.onConvFahrACentCompletedDelegate, userState)
        End Sub
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Function RefServWCFConverTemps_ServicioWCFConverTemps_BeginResultadoDetallado(ByVal detalle As RefServWCFConverTemps.Detalles, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements RefServWCFConverTemps.ServicioWCFConverTemps.BeginResultadoDetallado
            Return MyBase.Channel.BeginResultadoDetallado(detalle, callback, asyncState)
        End Function
        
        <System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)>  _
        Function RefServWCFConverTemps_ServicioWCFConverTemps_EndResultadoDetallado(ByVal result As System.IAsyncResult) As RefServWCFConverTemps.Detalles Implements RefServWCFConverTemps.ServicioWCFConverTemps.EndResultadoDetallado
            Return MyBase.Channel.EndResultadoDetallado(result)
        End Function
        
        Private Function OnBeginResultadoDetallado(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Dim detalle As RefServWCFConverTemps.Detalles = CType(inValues(0),RefServWCFConverTemps.Detalles)
            Return CType(Me,RefServWCFConverTemps.ServicioWCFConverTemps).BeginResultadoDetallado(detalle, callback, asyncState)
        End Function
        
        Private Function OnEndResultadoDetallado(ByVal result As System.IAsyncResult) As Object()
            Dim retVal As RefServWCFConverTemps.Detalles = CType(Me,RefServWCFConverTemps.ServicioWCFConverTemps).EndResultadoDetallado(result)
            Return New Object() {retVal}
        End Function
        
        Private Sub OnResultadoDetalladoCompleted(ByVal state As Object)
            If (Not (Me.ResultadoDetalladoCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent ResultadoDetalladoCompleted(Me, New ResultadoDetalladoCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub ResultadoDetalladoAsync(ByVal detalle As RefServWCFConverTemps.Detalles)
            Me.ResultadoDetalladoAsync(detalle, Nothing)
        End Sub
        
        Public Overloads Sub ResultadoDetalladoAsync(ByVal detalle As RefServWCFConverTemps.Detalles, ByVal userState As Object)
            If (Me.onBeginResultadoDetalladoDelegate Is Nothing) Then
                Me.onBeginResultadoDetalladoDelegate = AddressOf Me.OnBeginResultadoDetallado
            End If
            If (Me.onEndResultadoDetalladoDelegate Is Nothing) Then
                Me.onEndResultadoDetalladoDelegate = AddressOf Me.OnEndResultadoDetallado
            End If
            If (Me.onResultadoDetalladoCompletedDelegate Is Nothing) Then
                Me.onResultadoDetalladoCompletedDelegate = AddressOf Me.OnResultadoDetalladoCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginResultadoDetalladoDelegate, New Object() {detalle}, Me.onEndResultadoDetalladoDelegate, Me.onResultadoDetalladoCompletedDelegate, userState)
        End Sub
        
        Private Function OnBeginOpen(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return CType(Me,System.ServiceModel.ICommunicationObject).BeginOpen(callback, asyncState)
        End Function
        
        Private Function OnEndOpen(ByVal result As System.IAsyncResult) As Object()
            CType(Me,System.ServiceModel.ICommunicationObject).EndOpen(result)
            Return Nothing
        End Function
        
        Private Sub OnOpenCompleted(ByVal state As Object)
            If (Not (Me.OpenCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent OpenCompleted(Me, New System.ComponentModel.AsyncCompletedEventArgs(e.[Error], e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub OpenAsync()
            Me.OpenAsync(Nothing)
        End Sub
        
        Public Overloads Sub OpenAsync(ByVal userState As Object)
            If (Me.onBeginOpenDelegate Is Nothing) Then
                Me.onBeginOpenDelegate = AddressOf Me.OnBeginOpen
            End If
            If (Me.onEndOpenDelegate Is Nothing) Then
                Me.onEndOpenDelegate = AddressOf Me.OnEndOpen
            End If
            If (Me.onOpenCompletedDelegate Is Nothing) Then
                Me.onOpenCompletedDelegate = AddressOf Me.OnOpenCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginOpenDelegate, Nothing, Me.onEndOpenDelegate, Me.onOpenCompletedDelegate, userState)
        End Sub
        
        Private Function OnBeginClose(ByVal inValues() As Object, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
            Return CType(Me,System.ServiceModel.ICommunicationObject).BeginClose(callback, asyncState)
        End Function
        
        Private Function OnEndClose(ByVal result As System.IAsyncResult) As Object()
            CType(Me,System.ServiceModel.ICommunicationObject).EndClose(result)
            Return Nothing
        End Function
        
        Private Sub OnCloseCompleted(ByVal state As Object)
            If (Not (Me.CloseCompletedEvent) Is Nothing) Then
                Dim e As InvokeAsyncCompletedEventArgs = CType(state,InvokeAsyncCompletedEventArgs)
                RaiseEvent CloseCompleted(Me, New System.ComponentModel.AsyncCompletedEventArgs(e.[Error], e.Cancelled, e.UserState))
            End If
        End Sub
        
        Public Overloads Sub CloseAsync()
            Me.CloseAsync(Nothing)
        End Sub
        
        Public Overloads Sub CloseAsync(ByVal userState As Object)
            If (Me.onBeginCloseDelegate Is Nothing) Then
                Me.onBeginCloseDelegate = AddressOf Me.OnBeginClose
            End If
            If (Me.onEndCloseDelegate Is Nothing) Then
                Me.onEndCloseDelegate = AddressOf Me.OnEndClose
            End If
            If (Me.onCloseCompletedDelegate Is Nothing) Then
                Me.onCloseCompletedDelegate = AddressOf Me.OnCloseCompleted
            End If
            MyBase.InvokeAsync(Me.onBeginCloseDelegate, Nothing, Me.onEndCloseDelegate, Me.onCloseCompletedDelegate, userState)
        End Sub
        
        Protected Overrides Function CreateChannel() As RefServWCFConverTemps.ServicioWCFConverTemps
            Return New ServicioWCFConverTempsClientChannel(Me)
        End Function
        
        Private Class ServicioWCFConverTempsClientChannel
            Inherits ChannelBase(Of RefServWCFConverTemps.ServicioWCFConverTemps)
            Implements RefServWCFConverTemps.ServicioWCFConverTemps
            
            Public Sub New(ByVal client As System.ServiceModel.ClientBase(Of RefServWCFConverTemps.ServicioWCFConverTemps))
                MyBase.New(client)
            End Sub
            
            Public Function BeginConvCentAFahr(ByVal gCent As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements RefServWCFConverTemps.ServicioWCFConverTemps.BeginConvCentAFahr
                Dim _args((1) - 1) As Object
                _args(0) = gCent
                Dim _result As System.IAsyncResult = MyBase.BeginInvoke("ConvCentAFahr", _args, callback, asyncState)
                Return _result
            End Function
            
            Public Function EndConvCentAFahr(ByVal result As System.IAsyncResult) As Double Implements RefServWCFConverTemps.ServicioWCFConverTemps.EndConvCentAFahr
                Dim _args((0) - 1) As Object
                Dim _result As Double = CType(MyBase.EndInvoke("ConvCentAFahr", _args, result),Double)
                Return _result
            End Function
            
            Public Function BeginConvFahrACent(ByVal gFahr As Double, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements RefServWCFConverTemps.ServicioWCFConverTemps.BeginConvFahrACent
                Dim _args((1) - 1) As Object
                _args(0) = gFahr
                Dim _result As System.IAsyncResult = MyBase.BeginInvoke("ConvFahrACent", _args, callback, asyncState)
                Return _result
            End Function
            
            Public Function EndConvFahrACent(ByVal result As System.IAsyncResult) As Double Implements RefServWCFConverTemps.ServicioWCFConverTemps.EndConvFahrACent
                Dim _args((0) - 1) As Object
                Dim _result As Double = CType(MyBase.EndInvoke("ConvFahrACent", _args, result),Double)
                Return _result
            End Function
            
            Public Function BeginResultadoDetallado(ByVal detalle As RefServWCFConverTemps.Detalles, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult Implements RefServWCFConverTemps.ServicioWCFConverTemps.BeginResultadoDetallado
                Dim _args((1) - 1) As Object
                _args(0) = detalle
                Dim _result As System.IAsyncResult = MyBase.BeginInvoke("ResultadoDetallado", _args, callback, asyncState)
                Return _result
            End Function
            
            Public Function EndResultadoDetallado(ByVal result As System.IAsyncResult) As RefServWCFConverTemps.Detalles Implements RefServWCFConverTemps.ServicioWCFConverTemps.EndResultadoDetallado
                Dim _args((0) - 1) As Object
                Dim _result As RefServWCFConverTemps.Detalles = CType(MyBase.EndInvoke("ResultadoDetallado", _args, result),RefServWCFConverTemps.Detalles)
                Return _result
            End Function
        End Class
    End Class
End Namespace
