Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim exporter As WsdlExporter Dim context As WsdlEndpointConversionContext Dim ns As String Me.ImportSchema(exporter, context, ns) |
Syntax
Visual Basic |
---|
Protected Overridable Sub ImportSchema ( _ exporter As WsdlExporter, _ context As WsdlEndpointConversionContext, _ ns As String _ ) |
C# |
---|
protected virtual void ImportSchema ( WsdlExporter exporter, WsdlEndpointConversionContext context, string ns ) |
C++ |
---|
protected: virtual void ImportSchema ( WsdlExporter^ exporter, WsdlEndpointConversionContext^ context, String^ ns ) |
J# |
---|
protected void ImportSchema ( WsdlExporter exporter, WsdlEndpointConversionContext context, String ns ) |
JScript |
---|
protected function ImportSchema ( exporter : WsdlExporter, context : WsdlEndpointConversionContext, ns : String ) |
Parameters
- exporter
-
The WsdlExporter that exports the contract information.
- context
-
Provides mappings from exported WSDL elements to the endpoint description.
- ns
-
The current WS-Trust namespace for which the schemas are imported.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The parameter 'exporter' or 'context' is null. |
ArgumentException |
The parameter 'ns' is either null or String.Empty. |
InvalidOperationException |
The namespace 'ns' is not a recognized WS-Trust namespace. |
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.