MetadataImporter.KnownContracts Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a dictionary of contracts by name that the importer knows about.
public:
property System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::ServiceModel::Description::ContractDescription ^> ^ KnownContracts { System::Collections::Generic::Dictionary<System::Xml::XmlQualifiedName ^, System::ServiceModel::Description::ContractDescription ^> ^ get(); };
public System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName,System.ServiceModel.Description.ContractDescription> KnownContracts { get; }
member this.KnownContracts : System.Collections.Generic.Dictionary<System.Xml.XmlQualifiedName, System.ServiceModel.Description.ContractDescription>
Public ReadOnly Property KnownContracts As Dictionary(Of XmlQualifiedName, ContractDescription)
Property Value
A dictionary of contracts listed by XML qualified name.
Remarks
Use the KnownContracts property to add or remove contract descriptions and their associated XML names that the importer can reference.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.