TransactionFlowBindingElement TransactionFlowBindingElement TransactionFlowBindingElement TransactionFlowBindingElement Class

Definition

Represents the configuration element that specifies transaction flow support for a binding. This class cannot be inherited.

public ref class TransactionFlowBindingElement sealed : System::ServiceModel::Channels::BindingElement, System::ServiceModel::Description::IPolicyExportExtension
public sealed class TransactionFlowBindingElement : System.ServiceModel.Channels.BindingElement, System.ServiceModel.Description.IPolicyExportExtension
type TransactionFlowBindingElement = class
    inherit BindingElement
    interface IPolicyExportExtension
Public NotInheritable Class TransactionFlowBindingElement
Inherits BindingElement
Implements IPolicyExportExtension
Inheritance
TransactionFlowBindingElementTransactionFlowBindingElementTransactionFlowBindingElementTransactionFlowBindingElement
Implements

Remarks

This element allows you to enable or disable incoming transaction flow in an endpoint's binding settings, as well as to specify the desired protocol format for incoming transactions.

Caution

When using the OleTransactions protocol to flow transactions from endpoint to endpoint, the transaction timeout can be lost if the destination endpoint attempts to flow again using any protocol other than OleTransactions. This can cause all down-level nodes after the OleTransactions hop to timeout later than expected.

Constructors

TransactionFlowBindingElement() TransactionFlowBindingElement() TransactionFlowBindingElement() TransactionFlowBindingElement()

Initializes a new instance of the TransactionFlowBindingElement class.

TransactionFlowBindingElement(TransactionProtocol) TransactionFlowBindingElement(TransactionProtocol) TransactionFlowBindingElement(TransactionProtocol) TransactionFlowBindingElement(TransactionProtocol)

Initializes a new instance of the TransactionFlowBindingElement class with the specified protocol that is used to flow a transaction.

Properties

AllowWildcardAction AllowWildcardAction AllowWildcardAction AllowWildcardAction

Gets or sets whether wildcard action is set to be allowed on a transaction flow binding element to be cloned.

TransactionProtocol TransactionProtocol TransactionProtocol TransactionProtocol

Gets or sets the transaction protocol used in flowing a transaction.

Methods

BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext) BuildChannelFactory<TChannel>(BindingContext)

Initializes a channel factory for producing channels of a specified type from a binding context.

BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext) BuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener for accepting channels of a specified type from the binding context.

CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext) CanBuildChannelFactory<TChannel>(BindingContext)

Returns a value that indicates whether the specified binding context can build a channel factory for producing channels of a specified type.

CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext) CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the specified binding context can build a channel listener for accepting channels of a specified type.

Clone() Clone() Clone() Clone()

Creates a duplicate of this element.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperty<T>(BindingContext) GetProperty<T>(BindingContext) GetProperty<T>(BindingContext) GetProperty<T>(BindingContext)

Gets the typed object requested, if present, from the appropriate layer in the binding stack.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeTransactionProtocol() ShouldSerializeTransactionProtocol() ShouldSerializeTransactionProtocol() ShouldSerializeTransactionProtocol()

Returns whether the transaction protocol used for transaction flow can be serialized.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext) IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext) IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext) IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about the binding.

Applies to

See also