Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Transactions / WsatTransactionInfo.cs / 1 / WsatTransactionInfo.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Transactions { using System.ServiceModel.Security; using System.Transactions; using Microsoft.Transactions.Wsat.Messaging; class WsatTransactionInfo : TransactionInfo { WsatProxy wsatProxy; CoordinationContext context; RequestSecurityTokenResponse issuedToken; public WsatTransactionInfo(WsatProxy wsatProxy, CoordinationContext context, RequestSecurityTokenResponse issuedToken) { this.wsatProxy = wsatProxy; this.context = context; this.issuedToken = issuedToken; } public override Transaction UnmarshalTransaction() { Transaction tx; if (WsatIncomingTransactionCache.Find(this.context.Identifier, out tx)) return tx; tx = this.wsatProxy.UnmarshalTransaction(this); // Cache extended information for subsequent marshal operations WsatExtendedInformation info = new WsatExtendedInformation(context.Identifier, context.Expires); info.TryCache(tx); // Cache the unmarshalled transaction for subsequent unmarshal operations WsatIncomingTransactionCache.Cache(this.context.Identifier, tx); return tx; } public CoordinationContext Context { get { return this.context; } } public RequestSecurityTokenResponse IssuedToken { get { return this.issuedToken; } } } } // 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
- RoutingChannelExtension.cs
- HtmlFormParameterReader.cs
- TreeViewAutomationPeer.cs
- WindowsPen.cs
- InkCanvasFeedbackAdorner.cs
- MessageProperties.cs
- DataQuery.cs
- DesignerSerializationVisibilityAttribute.cs
- ByteStorage.cs
- AssemblyUtil.cs
- FormatSettings.cs
- ManipulationPivot.cs
- ImageCodecInfoPrivate.cs
- DefaultTextStoreTextComposition.cs
- MediaEntryAttribute.cs
- User.cs
- DataGridCommandEventArgs.cs
- DefaultBinder.cs
- BulletChrome.cs
- SynchronizedDispatch.cs
- ToolStripManager.cs
- MouseOverProperty.cs
- ScrollEventArgs.cs
- AsymmetricKeyExchangeFormatter.cs
- RuntimeHandles.cs
- AppDomainFactory.cs
- SHA256Managed.cs
- XmlSchemaComplexContentRestriction.cs
- SqlServices.cs
- CapabilitiesUse.cs
- ScrollableControl.cs
- UnicastIPAddressInformationCollection.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- RegexMatch.cs
- PaintValueEventArgs.cs
- Msec.cs
- DataGridViewCellConverter.cs
- XmlToDatasetMap.cs
- HtmlLiteralTextAdapter.cs
- DependentList.cs
- PrePrepareMethodAttribute.cs
- SerialErrors.cs
- BStrWrapper.cs
- DataSourceView.cs
- BitmapSourceSafeMILHandle.cs
- NodeLabelEditEvent.cs
- recordstatefactory.cs
- CookielessHelper.cs
- SqlDataSourceCommandEventArgs.cs
- ThreadSafeList.cs
- SplayTreeNode.cs
- TreePrinter.cs
- GAC.cs
- WsdlBuildProvider.cs
- CollectionCodeDomSerializer.cs
- documentsequencetextcontainer.cs
- ProcessHostServerConfig.cs
- DiagnosticTraceSource.cs
- CallbackValidatorAttribute.cs
- ResetableIterator.cs
- CategoryNameCollection.cs
- SystemColors.cs
- RuntimeTransactionHandle.cs
- PrintDocument.cs
- HttpFileCollection.cs
- UpWmlPageAdapter.cs
- OciEnlistContext.cs
- ResourceAssociationType.cs
- FontClient.cs
- NamespaceEmitter.cs
- BamlLocalizer.cs
- PageContentCollection.cs
- ZipFileInfo.cs
- HandleValueEditor.cs
- WebScriptMetadataMessageEncodingBindingElement.cs
- RegexCode.cs
- WebConfigurationManager.cs
- HybridObjectCache.cs
- TreeNodeStyleCollection.cs
- Policy.cs
- BuilderPropertyEntry.cs
- DrawTreeNodeEventArgs.cs
- ResourceProviderFactory.cs
- DataBinder.cs
- VectorAnimation.cs
- MetadataWorkspace.cs
- TraceUtility.cs
- SBCSCodePageEncoding.cs
- BulletedListEventArgs.cs
- OutputChannelBinder.cs
- StyleTypedPropertyAttribute.cs
- HtmlEmptyTagControlBuilder.cs
- Msmq4SubqueuePoisonHandler.cs
- DynamicILGenerator.cs
- AnnotationHighlightLayer.cs
- AnyReturnReader.cs
- BoolLiteral.cs
- XhtmlConformanceSection.cs
- ObjectStorage.cs
- ColumnReorderedEventArgs.cs