Gets the byte[]
returned by the Promote
method when the transaction is promoted.
public:
cli::array <System::Byte> ^ GetPromotedToken();
public byte[] GetPromotedToken();
member this.GetPromotedToken : unit -> byte[]
Public Function GetPromotedToken () As Byte()
Returns
The byte[]
returned by the Promote
method when the transaction is promoted.
This method has the side effect of causing promotion of the transaction if it is not already promoted.
The format of the returned byte[]
is defined by the value of the Transaction.PromoterType
property. If the value of the Transaction.PromoterType
property is TransactionInterop.PromoterTypeDtc
or Guid.Empty
, then the byte[]
returned by this method is an MSDTC transmitter propagation token. Any other value for the Transaction.PromoterType
property specifies a format that is defined by the caller of Transaction.EnlistPromotableSinglePhase
that specified the property type value. In order to interpret the promoted token in this latter case, you will need to consult the documentation for the code that made the EnlistPromotableSinglePhase
call.
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this articleWas this page helpful?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4