ModelBusAdapterManager.SerializeAdapterReference Method
Serializes the supplied adapter reference and returns it as a string
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
Protected Friend MustOverride Function SerializeAdapterReference ( _
reference As ModelBusAdapterReference, _
context As ReferenceContext _
) As String
protected internal abstract string SerializeAdapterReference(
ModelBusAdapterReference reference,
ReferenceContext context
)
protected public:
virtual String^ SerializeAdapterReference(
ModelBusAdapterReference^ reference,
ReferenceContext^ context
) abstract
abstract SerializeAdapterReference :
reference:ModelBusAdapterReference *
context:ReferenceContext -> string
abstract function SerializeAdapterReference(
reference : ModelBusAdapterReference,
context : ReferenceContext
) : String
Parameters
- reference
Type: Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapterReference
The reference to be serialized
- context
Type: Microsoft.VisualStudio.Modeling.Integration.ReferenceContext
Additional contextual information, or null. If you provide a ReferenceContext, you might have to provide equivalent information when the string is deserialized. A typical context would be a project folder.
Return Value
Type: System.String
Serialized version of the reference. If you provide a ReferenceContext, the string might be relative to the context.
Remarks
See also SerializeReference().
.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.