Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Transactions / OleTxTransactionInfo.cs / 1 / OleTxTransactionInfo.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Transactions { using System.Transactions; class OleTxTransactionInfo : TransactionInfo { OleTxTransactionHeader header; public OleTxTransactionInfo(OleTxTransactionHeader header) { this.header = header; } public override Transaction UnmarshalTransaction() { Transaction tx = UnmarshalPropagationToken(header.PropagationToken); if (this.header.WsatExtendedInformation != null) this.header.WsatExtendedInformation.TryCache(tx); return tx; } public static Transaction UnmarshalPropagationToken(byte[] propToken) { try { return TransactionInterop.GetTransactionFromTransmitterPropagationToken(propToken); } catch (ArgumentException e) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new TransactionException(SR.GetString(SR.InvalidPropagationToken), e)); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SqlTypesSchemaImporter.cs
- CreateInstanceBinder.cs
- Signature.cs
- ConfigPathUtility.cs
- WorkflowRuntimeElement.cs
- TextParagraph.cs
- RoleManagerEventArgs.cs
- EmbeddedMailObjectCollectionEditor.cs
- XmlSchemaType.cs
- PersonalizablePropertyEntry.cs
- CommandBinding.cs
- Point4DValueSerializer.cs
- IOException.cs
- ScriptReference.cs
- QueryContinueDragEvent.cs
- XsdDuration.cs
- Vector3D.cs
- GridItem.cs
- ListViewHitTestInfo.cs
- StateItem.cs
- ProfileInfo.cs
- DefaultEventAttribute.cs
- Int32Collection.cs
- AddressingProperty.cs
- OutKeywords.cs
- PriorityBinding.cs
- ServiceNameCollection.cs
- ProviderIncompatibleException.cs
- String.cs
- ConfigurationManagerHelper.cs
- SpanIndex.cs
- DesignTimeData.cs
- ScalarType.cs
- SqlDuplicator.cs
- AngleUtil.cs
- EUCJPEncoding.cs
- SpotLight.cs
- EventTask.cs
- MruCache.cs
- Monitor.cs
- safelinkcollection.cs
- TraceXPathNavigator.cs
- ReferenceConverter.cs
- COM2FontConverter.cs
- ViewGenerator.cs
- SecurityUtils.cs
- SplitContainer.cs
- configsystem.cs
- SafeProcessHandle.cs
- LoadMessageLogger.cs
- ToolboxItemLoader.cs
- CatalogPartChrome.cs
- SplashScreen.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- EncodingNLS.cs
- LostFocusEventManager.cs
- TextServicesCompartmentContext.cs
- FixedLineResult.cs
- infer.cs
- RawStylusSystemGestureInputReport.cs
- DecoderFallbackWithFailureFlag.cs
- ChtmlCommandAdapter.cs
- AutoCompleteStringCollection.cs
- CheckBoxRenderer.cs
- GlobalItem.cs
- HMACMD5.cs
- Configuration.cs
- ViewEventArgs.cs
- ModelTypeConverter.cs
- PathGeometry.cs
- SwitchCase.cs
- AssertSection.cs
- StringUtil.cs
- PersonalizationProviderCollection.cs
- EntityProviderServices.cs
- BitmapData.cs
- DataControlLinkButton.cs
- WindowsScroll.cs
- BufferedStream.cs
- DispatcherOperation.cs
- BrowsableAttribute.cs
- WithParamAction.cs
- AnonymousIdentificationModule.cs
- MiniLockedBorderGlyph.cs
- RightsDocument.cs
- CounterNameConverter.cs
- CodeIdentifier.cs
- XmlSchemaIdentityConstraint.cs
- PermissionRequestEvidence.cs
- MultiPropertyDescriptorGridEntry.cs
- SafeRightsManagementPubHandle.cs
- EntityConnectionStringBuilder.cs
- Token.cs
- GCHandleCookieTable.cs
- Cursors.cs
- SQLInt16Storage.cs
- LinqDataSourceSelectEventArgs.cs
- EllipseGeometry.cs
- SortDescriptionCollection.cs
- TypeLoadException.cs