ModelBusReference.Deserialize Method (String, IModelBus, ReferenceContext)
Deserializes the serializedReference and returns a new instance of ModelBusReference
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaración
Public Shared Function Deserialize ( _
serializedReference As String, _
modelBus As IModelBus, _
context As ReferenceContext _
) As ModelBusReference
public static ModelBusReference Deserialize(
string serializedReference,
IModelBus modelBus,
ReferenceContext context
)
public:
static ModelBusReference^ Deserialize(
String^ serializedReference,
IModelBus^ modelBus,
ReferenceContext^ context
)
static member Deserialize :
serializedReference:string *
modelBus:IModelBus *
context:ReferenceContext -> ModelBusReference
public static function Deserialize(
serializedReference : String,
modelBus : IModelBus,
context : ReferenceContext
) : ModelBusReference
Parameters
- serializedReference
Type: System.String
The serialized form of the reference
- modelBus
Type: Microsoft.VisualStudio.Modeling.Integration.IModelBus
- context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContext
Additional contextual information about the reference being deserialized
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
A new instance of ModelBusReference
.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.