SecurityException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the SecurityException class.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected SecurityException(
SerializationInfo info,
StreamingContext context
)
protected:
SecurityException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> SecurityException
protected function SecurityException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that contains the information required to serialize the new SecurityException instance.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext object that contains the source and destination of the serialized stream associated with the SecurityException instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.