Breyta

Deila með


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
TransactionFlowBindingElement
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()

Initializes a new instance of the TransactionFlowBindingElement class.

TransactionFlowBindingElement(TransactionProtocol)

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

Properties

AllowWildcardAction

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

TransactionProtocol

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

Methods

BuildChannelFactory<TChannel>(BindingContext)

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

BuildChannelListener<TChannel>(BindingContext)

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

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)

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

Clone()

Creates a duplicate of this element.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

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

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

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeTransactionProtocol()

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IPolicyExportExtension.ExportPolicy(MetadataExporter, PolicyConversionContext)

Exports a custom policy assertion about the binding.

Applies to

See also