ModelBus.DeserializeReference Method
Deserializes the supplied string and returns a ModelBusReference.
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaração
Public Function DeserializeReference ( _
serializedReference As String, _
context As ReferenceContext _
) As ModelBusReference
public ModelBusReference DeserializeReference(
string serializedReference,
ReferenceContext context
)
public:
virtual ModelBusReference^ DeserializeReference(
String^ serializedReference,
ReferenceContext^ context
) sealed
abstract DeserializeReference :
serializedReference:string *
context:ReferenceContext -> ModelBusReference
override DeserializeReference :
serializedReference:string *
context:ReferenceContext -> ModelBusReference
public final function DeserializeReference(
serializedReference : String,
context : ReferenceContext
) : ModelBusReference
Parameters
- serializedReference
Type: System.String
A string representing the serialized reference
- context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContext
ReferenceContext used to interpret the serialized string
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
A new instance of ModelBusReference
Implements
IModelBus.DeserializeReference(String, ReferenceContext)
.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.