StorageNotAccessibleException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the StorageNotAccessibleException class by using the provided information and context.
Namespace: Microsoft.VisualStudio.TestTools.Exceptions
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected StorageNotAccessibleException(
SerializationInfo info,
StreamingContext context
)
protected:
StorageNotAccessibleException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> StorageNotAccessibleException
protected function StorageNotAccessibleException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
Information about the exception.
- context
Type: System.Runtime.Serialization.StreamingContext
The source and the destination of the exception.
.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.
See Also
Reference
StorageNotAccessibleException Class
StorageNotAccessibleException Overload