MetadataImporter::KnownContracts Property

 

Gets a dictionary of contracts by name that the importer knows about.

Namespace:   System.ServiceModel.Description
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property Dictionary<XmlQualifiedName^, ContractDescription^>^ KnownContracts {
	Dictionary<XmlQualifiedName^, ContractDescription^>^ get();
}

Property Value

Type: System.Collections.Generic::Dictionary<XmlQualifiedName^, ContractDescription^>^

A dictionary of contracts listed by XML qualified name.

Use the KnownContracts property to add or remove contract descriptions and their associated XML names that the importer can reference.

.NET Framework
Available since 3.0
Return to top
Show: