Loupe - Log - Monitor - Resolve
Gibraltar.Server.Client Namespace / HubConnection Class / CreateSubscription Method

In This Topic
    CreateSubscription Method
    In This Topic
    Create a new subscription to this hub for the supplied repository information and shared secret.
    Syntax
    'Declaration
     
    
    <AsyncStateMachineAttribute(Gibraltar.Server.Client.HubConnection/d__38)> 
    Public Function CreateSubscription( _ 
       ByVal repositoryXml As ClientRepositoryXml _ 
    ) As Task(Of ClientRepositoryXml)
    [AsyncStateMachine(Gibraltar.Server.Client.HubConnection/d__38)] 
    public Task<ClientRepositoryXml> CreateSubscription( 
       ClientRepositoryXml repositoryXml 
    )

    Parameters

    repositoryXml

    Return Value

    The client repository information retrieved from the server.
    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