Udostępnij za pośrednictwem


AuthorizeModule Constructor (IAuthorizeHubConnection, IAuthorizeHubMethodInvocation)

.NET Framework 4

Namespace:  Microsoft.AspNet.SignalR.Hubs
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Sub New ( _
    globalConnectionAuthorizer As IAuthorizeHubConnection, _
    globalInvocationAuthorizer As IAuthorizeHubMethodInvocation _
)
'Usage
Dim globalConnectionAuthorizer As IAuthorizeHubConnection 
Dim globalInvocationAuthorizer As IAuthorizeHubMethodInvocation 

Dim instance As New AuthorizeModule(globalConnectionAuthorizer, _
    globalInvocationAuthorizer)
public AuthorizeModule(
    IAuthorizeHubConnection globalConnectionAuthorizer,
    IAuthorizeHubMethodInvocation globalInvocationAuthorizer
)
public:
AuthorizeModule(
    IAuthorizeHubConnection^ globalConnectionAuthorizer, 
    IAuthorizeHubMethodInvocation^ globalInvocationAuthorizer
)
new : 
        globalConnectionAuthorizer:IAuthorizeHubConnection * 
        globalInvocationAuthorizer:IAuthorizeHubMethodInvocation -> AuthorizeModule
public function AuthorizeModule(
    globalConnectionAuthorizer : IAuthorizeHubConnection, 
    globalInvocationAuthorizer : IAuthorizeHubMethodInvocation
)

Parameters

See Also

Reference

AuthorizeModule Class

AuthorizeModule Overload

Microsoft.AspNet.SignalR.Hubs Namespace