Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Loads the state of the toolbox item from the specified serialization information object.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")> _
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")> _
Protected Overrides Sub Deserialize ( _
info As SerializationInfo, _
context As StreamingContext _
)
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
protected override void Deserialize(
SerializationInfo info,
StreamingContext context
)
[PermissionSetAttribute(SecurityAction::InheritanceDemand, Name = L"FullTrust")]
[PermissionSetAttribute(SecurityAction::LinkDemand, Name = L"FullTrust")]
protected:
virtual void Deserialize(
SerializationInfo^ info,
StreamingContext context
) override
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
abstract Deserialize :
info:SerializationInfo *
context:StreamingContext -> unit
[<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")>]
[<PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")>]
override Deserialize :
info:SerializationInfo *
context:StreamingContext -> unit
protected override function Deserialize(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The serialization information store.
- context
Type: System.Runtime.Serialization.StreamingContext
The stream context.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | info is nulla null reference (Nothing in Visual Basic). |
.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.