WSTrustServiceContract.ExportContract 方法

Implementation for IWsdlExportExtension.ExportContract. The default implementation does nothing. Can be overridden in the derived class for specific behavior.

命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    Dim instance As WSTrustServiceContract
Dim exporter As WsdlExporter
Dim context As WsdlContractConversionContext

instance.ExportContract(exporter, context)

语法

声明
Public Overridable Sub ExportContract ( _
    exporter As WsdlExporter, _
    context As WsdlContractConversionContext _
)
public virtual void ExportContract (
    WsdlExporter exporter,
    WsdlContractConversionContext context
)
public:
virtual void ExportContract (
    WsdlExporter^ exporter, 
    WsdlContractConversionContext^ context
)
public void ExportContract (
    WsdlExporter exporter, 
    WsdlContractConversionContext context
)
public function ExportContract (
    exporter : WsdlExporter, 
    context : WsdlContractConversionContext
)

参数

  • exporter
    The WsdlExporter that exports the contract information.
  • context
    Provides mappings from exported WSDL elements to the contract description.

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

请参见

参考

WSTrustServiceContract 类
WSTrustServiceContract 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间