Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)
Usage
Visual Basic |
---|
Dim context As WsdlEndpointConversionContext Dim prefix As String Dim ns As String Me.IncludeNamespace(context, prefix, ns) |
Syntax
Visual Basic |
---|
Protected Overridable Sub IncludeNamespace ( _ context As WsdlEndpointConversionContext, _ prefix As String, _ ns As String _ ) |
C# |
---|
protected virtual void IncludeNamespace ( WsdlEndpointConversionContext context, string prefix, string ns ) |
C++ |
---|
protected: virtual void IncludeNamespace ( WsdlEndpointConversionContext^ context, String^ prefix, String^ ns ) |
J# |
---|
protected void IncludeNamespace ( WsdlEndpointConversionContext context, String prefix, String ns ) |
JScript |
---|
protected function IncludeNamespace ( context : WsdlEndpointConversionContext, prefix : String, ns : String ) |
Parameters
- context
-
Provides mappings from exported WSDL elements to the endpoint description.
- prefix
-
The prefix of the namespace to be included.
- ns
-
The namespace to be included.
Exceptions
Exception type | Condition |
---|---|
ArgumentNullException |
The parameter 'prefix' or 'ns' is either null or String.Empty. |
ArgumentNullException |
The ‘context’ parameter is null. |
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.