<?xml version="1.0" encoding="utf-8"?> <Type Name="TransactionFlowBindingElementImporter" FullName="System.ServiceModel.Channels.TransactionFlowBindingElementImporter"> <TypeSignature Language="C#" Value="public sealed class TransactionFlowBindingElementImporter : System.ServiceModel.Description.IPolicyImportExtension" /> <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit TransactionFlowBindingElementImporter extends System.Object implements class System.ServiceModel.Description.IPolicyImportExtension" /> <AssemblyInfo> <AssemblyName>System.ServiceModel</AssemblyName> <AssemblyVersion>4.0.0.0</AssemblyVersion> </AssemblyInfo> <Base> <BaseTypeName>System.Object</BaseTypeName> </Base> <Interfaces> <Interface> <InterfaceName>System.ServiceModel.Description.IPolicyImportExtension</InterfaceName> </Interface> </Interfaces> <Docs> <remarks> <attribution license="cc4" from="Microsoft" modified="false" /> <para>The service endpoint must have enabled transaction flow and its methods must flow transactions. The converted policy assertions all adhere to the WS-PolicyAssertions standard.</para> <para>This class is used mainly by the infrastructure when it builds a proxy for a service that is transaction-flow enabled. Calling the <see cref="M:System.ServiceModel.Channels.TransactionFlowBindingElementImporter.System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy(System.ServiceModel.Description.MetadataImporter,System.ServiceModel.Description.PolicyConversionContext)" /> method adds a <see cref="T:System.ServiceModel.Channels.TransactionFlowBindingElement" /> instance to the <see cref="T:System.ServiceModel.Description.PolicyConversionContext" /> collection of binding elements. This also adds <see cref="T:System.ServiceModel.TransactionFlowAttribute" /> instances, as appropriate, on the Operations collection present in the conversion context’s contract.</para> </remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Imports the transaction policy (WS-Policy assertions) of a service endpoint, adds implementing binding elements to the binding on the client, and transaction flow attributes to the appropriate operations on the service’s proxy. This class cannot be inherited.</para> </summary> </Docs> <Members> <Member MemberName=".ctor"> <MemberSignature Language="C#" Value="public TransactionFlowBindingElementImporter ();" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /> <MemberType>Constructor</MemberType> <AssemblyInfo> <AssemblyVersion>4.0.0.0</AssemblyVersion> </AssemblyInfo> <Parameters /> <Docs> <remarks>To be added.</remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Initializes a new instance of the <see cref="T:System.ServiceModel.Channels.TransactionFlowBindingElementImporter" /> class. </para> </summary> </Docs> </Member> <Member MemberName="ExportPolicy"> <MemberSignature Language="C#" Value="public void ExportPolicy (System.ServiceModel.Description.MetadataExporter exporter, System.ServiceModel.Description.PolicyConversionContext context);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance void ExportPolicy(class System.ServiceModel.Description.MetadataExporter exporter, class System.ServiceModel.Description.PolicyConversionContext context) cil managed" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>4.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters> <Parameter Name="exporter" Type="System.ServiceModel.Description.MetadataExporter" /> <Parameter Name="context" Type="System.ServiceModel.Description.PolicyConversionContext" /> </Parameters> <Docs> <param name="exporter">To be added.</param> <param name="context">To be added.</param> <summary>To be added.</summary> <remarks>To be added.</remarks> </Docs> </Member> <Member MemberName="GetAssertion"> <MemberSignature Language="C#" Value="public System.Xml.XmlElement GetAssertion (System.Xml.XmlDocument doc, System.ServiceModel.TransactionFlowOption option, string prefix, string name, string ns);" /> <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Xml.XmlElement GetAssertion(class System.Xml.XmlDocument doc, valuetype System.ServiceModel.TransactionFlowOption option, string prefix, string name, string ns) cil managed" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>4.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>System.Xml.XmlElement</ReturnType> </ReturnValue> <Parameters> <Parameter Name="doc" Type="System.Xml.XmlDocument" /> <Parameter Name="option" Type="System.ServiceModel.TransactionFlowOption" /> <Parameter Name="prefix" Type="System.String" /> <Parameter Name="name" Type="System.String" /> <Parameter Name="ns" Type="System.String" /> </Parameters> <Docs> <param name="doc">To be added.</param> <param name="option">To be added.</param> <param name="prefix">To be added.</param> <param name="name">To be added.</param> <param name="ns">To be added.</param> <summary>To be added.</summary> <returns>To be added.</returns> <remarks>To be added.</remarks> </Docs> </Member> <Member MemberName="System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy"> <MemberSignature Language="C#" Value="void IPolicyImportExtension.ImportPolicy (System.ServiceModel.Description.MetadataImporter importer, System.ServiceModel.Description.PolicyConversionContext context);" /> <MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.ServiceModel.Description.IPolicyImportExtension.ImportPolicy(class System.ServiceModel.Description.MetadataImporter importer, class System.ServiceModel.Description.PolicyConversionContext context) cil managed" /> <MemberType>Method</MemberType> <AssemblyInfo> <AssemblyVersion>4.0.0.0</AssemblyVersion> </AssemblyInfo> <ReturnValue> <ReturnType>System.Void</ReturnType> </ReturnValue> <Parameters> <Parameter Name="importer" Type="System.ServiceModel.Description.MetadataImporter" /> <Parameter Name="context" Type="System.ServiceModel.Description.PolicyConversionContext" /> </Parameters> <Docs> <remarks>To be added.</remarks> <summary> <attribution license="cc4" from="Microsoft" modified="false" /> <para>Imports custom policy assertions and adds implementing binding elements. This method cannot be inherited.</para> </summary> <param name="importer"> <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Description.MetadataImporter" /> object to use.</param> <param name="context"> <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.ServiceModel.Description.PolicyConversionContext" /> that contains both the policy assertions that can be imported and the collections of binding elements to which implementing binding elements can be added.</param> </Docs> </Member> </Members> </Type>