NotAuthorizedException Constructor (SerializationInfo, StreamingContext)
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR.Hubs
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New NotAuthorizedException(info, context)
protected NotAuthorizedException(
SerializationInfo info,
StreamingContext context
)
protected:
NotAuthorizedException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> NotAuthorizedException
protected function NotAuthorizedException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- context
Type: System.Runtime.Serialization.StreamingContext