IModelBus.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
'Declaration
Function DeserializeReference ( _
serializedReference As String, _
context As ReferenceContext _
) As ModelBusReference
ModelBusReference DeserializeReference(
string serializedReference,
ReferenceContext context
)
ModelBusReference^ DeserializeReference(
String^ serializedReference,
ReferenceContext^ context
)
abstract DeserializeReference :
serializedReference:string *
context:ReferenceContext -> ModelBusReference
function DeserializeReference(
serializedReference : String,
context : ReferenceContext
) : ModelBusReference
Parameters
- serializedReference
Type: System.String
A string representing the serialized Model Bus Reference.
- context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContext
ReferenceContext used to interpret the serialized string. This will be stored in the returned ModelBusReference. May be null if the serializedReference requires no context.
Return Value
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusReference
The deserialized 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.