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
- GroupByQueryOperator.cs
- SchemaImporterExtensionElement.cs
- WebPartConnectionsConfigureVerb.cs
- ButtonAutomationPeer.cs
- StringValueSerializer.cs
- SchemaMerger.cs
- EdgeProfileValidation.cs
- VisualTreeFlattener.cs
- UriParserTemplates.cs
- DataTable.cs
- EditorPart.cs
- DocumentOrderQuery.cs
- OnOperation.cs
- ProxyWebPartConnectionCollection.cs
- Utilities.cs
- CacheMode.cs
- IDispatchConstantAttribute.cs
- ClientSettingsProvider.cs
- FixedFlowMap.cs
- OutputCacheSection.cs
- HandlerFactoryCache.cs
- BitmapEffectRenderDataResource.cs
- NotImplementedException.cs
- ArraySegment.cs
- XmlSchemaAll.cs
- RelationshipManager.cs
- ValidatorCollection.cs
- baseshape.cs
- X509CertificateStore.cs
- PublisherMembershipCondition.cs
- DesignerDataSourceView.cs
- HttpRequest.cs
- SmtpMail.cs
- RootAction.cs
- Descriptor.cs
- TemplateControlBuildProvider.cs
- tooltip.cs
- NamespaceExpr.cs
- HttpModuleCollection.cs
- HashCoreRequest.cs
- AdornerDecorator.cs
- ProofTokenCryptoHandle.cs
- CompilerCollection.cs
- DispatchChannelSink.cs
- AlgoModule.cs
- ApplicationActivator.cs
- XmlSerializerVersionAttribute.cs
- AsymmetricKeyExchangeFormatter.cs
- Delegate.cs
- DataGridItemEventArgs.cs
- TTSVoice.cs
- EntityContainerEmitter.cs
- ResolveNameEventArgs.cs
- OdbcConnectionString.cs
- PointConverter.cs
- XmlSchemaAnyAttribute.cs
- InternalConfigHost.cs
- PagedDataSource.cs
- Int64KeyFrameCollection.cs
- SHA384Managed.cs
- XmlDataCollection.cs
- BlockingCollection.cs
- MenuTracker.cs
- StatusBarItemAutomationPeer.cs
- TraceContextEventArgs.cs
- HtmlUtf8RawTextWriter.cs
- MediaTimeline.cs
- CodeExpressionStatement.cs
- xml.cs
- ContextMenuAutomationPeer.cs
- ResourcePool.cs
- PasswordBoxAutomationPeer.cs
- HtmlContainerControl.cs
- ListMarkerSourceInfo.cs
- XmlCodeExporter.cs
- SqlTypeConverter.cs
- PasswordTextContainer.cs
- StaticTextPointer.cs
- FrameDimension.cs
- NCryptSafeHandles.cs
- NewItemsContextMenuStrip.cs
- TraceData.cs
- PlaceHolder.cs
- SafeFreeMibTable.cs
- Evidence.cs
- Types.cs
- BamlTreeNode.cs
- PrivilegeNotHeldException.cs
- UdpContractFilterBehavior.cs
- LazyTextWriterCreator.cs
- UnsettableComboBox.cs
- Attributes.cs
- SiteMapProvider.cs
- DashStyles.cs
- TargetConverter.cs
- DateTimeOffsetConverter.cs
- Tokenizer.cs
- XmlReflectionImporter.cs
- Pens.cs
- Bitmap.cs