Loupe - Log - Monitor - Resolve
Gibraltar.Data Namespace / Packager Class / CanSendToServer Method / CanSendToServer(Boolean,ServerConfiguration) Method
Indicates if any of the configuration information provided on this call should be used
The connection configuration to use if overriding the server configuration

In This Topic
    CanSendToServer(Boolean,ServerConfiguration) Method
    In This Topic
    Determines if it can correctly connect to the server and send data
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(Gibraltar.Data.Packager/d__46)> 
    Public Overloads Shared Function CanSendToServer( _ 
       ByVal overrideConfiguration As Boolean, _ 
       ByVal serverConfiguration As ServerConfiguration _ 
    ) As Task(Of HubConnectionStatus)
    [AsyncStateMachine(Gibraltar.Data.Packager/d__46)] 
    public static Task<HubConnectionStatus> CanSendToServer( 
       bool overrideConfiguration, 
       ServerConfiguration serverConfiguration 
    )

    Parameters

    overrideConfiguration
    Indicates if any of the configuration information provided on this call should be used
    serverConfiguration
    The connection configuration to use if overriding the server configuration

    Return Value

    The hub status information for the specified configuration
    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