WSTrustServiceContract.ImportSchema Method
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.
Imports all of the required schemas if not already present in the WSDL.
protected:
virtual void ImportSchema(System::ServiceModel::Description::WsdlExporter ^ exporter, System::ServiceModel::Description::WsdlEndpointConversionContext ^ context, System::String ^ ns);
protected virtual void ImportSchema (System.ServiceModel.Description.WsdlExporter exporter, System.ServiceModel.Description.WsdlEndpointConversionContext context, string ns);
abstract member ImportSchema : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext * string -> unit
override this.ImportSchema : System.ServiceModel.Description.WsdlExporter * System.ServiceModel.Description.WsdlEndpointConversionContext * string -> unit
Protected Overridable Sub ImportSchema (exporter As WsdlExporter, context As WsdlEndpointConversionContext, ns As String)
- exporter
- WsdlExporter
The WsdlExporter that exports the contract information.
- context
- WsdlEndpointConversionContext
Provides mappings from exported WSDL elements to the endpoint description.
- ns
- String
The current WS-Trust namespace for which the schemas are imported.
ns
is null
or an empty string.
The namespace specified in ns
is not a recognized WS-Trust namespace.
The default implementation imports the following schemas: WS-Trust Feb 2005 and WS-Trust 1.3. You can override this method in derived classes to import other schemas.
Produkt | Versioner |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: