Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Channels / MsmqReceiveParameters.cs / 1 / MsmqReceiveParameters.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.ServiceModel.Channels
{
abstract class MsmqReceiveParameters
{
MsmqUri.IAddressTranslator addressTranslator;
bool durable;
bool exactlyOnce;
int maxRetryCycles;
ReceiveErrorHandling receiveErrorHandling;
int receiveRetryCount;
TimeSpan retryCycleDelay;
MsmqTransportSecurity transportSecurity;
bool useMsmqTracing;
bool useSourceJournal;
internal MsmqReceiveParameters(MsmqBindingElementBase bindingElement)
: this(bindingElement, bindingElement.AddressTranslator)
{}
internal MsmqReceiveParameters(MsmqBindingElementBase bindingElement, MsmqUri.IAddressTranslator addressTranslator)
{
this.addressTranslator = addressTranslator;
this.durable = bindingElement.Durable;
this.exactlyOnce = bindingElement.ExactlyOnce;
this.maxRetryCycles = bindingElement.MaxRetryCycles;
this.receiveErrorHandling = bindingElement.ReceiveErrorHandling;
this.receiveRetryCount = bindingElement.ReceiveRetryCount;
this.retryCycleDelay = bindingElement.RetryCycleDelay;
this.transportSecurity = new MsmqTransportSecurity(bindingElement.MsmqTransportSecurity);
this.useMsmqTracing = bindingElement.UseMsmqTracing;
this.useSourceJournal = bindingElement.UseSourceJournal;
}
internal MsmqUri.IAddressTranslator AddressTranslator
{
get { return this.addressTranslator; }
}
internal bool Durable
{
get { return this.durable; }
}
internal bool ExactlyOnce
{
get { return this.exactlyOnce; }
}
internal int ReceiveRetryCount
{
get { return this.receiveRetryCount; }
}
internal int MaxRetryCycles
{
get { return this.maxRetryCycles; }
}
internal ReceiveErrorHandling ReceiveErrorHandling
{
get { return this.receiveErrorHandling; }
}
internal TimeSpan RetryCycleDelay
{
get { return this.retryCycleDelay; }
}
internal MsmqTransportSecurity TransportSecurity
{
get { return this.transportSecurity; }
}
internal bool UseMsmqTracing
{
get { return this.useMsmqTracing; }
}
internal bool UseSourceJournal
{
get { return this.useSourceJournal; }
}
}
}
// 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
- SchemaImporterExtension.cs
- RepeatBehaviorConverter.cs
- GlyphTypeface.cs
- DynamicMethod.cs
- CursorInteropHelper.cs
- CodeMemberMethod.cs
- SafeUserTokenHandle.cs
- ISAPIWorkerRequest.cs
- AxParameterData.cs
- CompositeScriptReferenceEventArgs.cs
- GrabHandleGlyph.cs
- BindingMAnagerBase.cs
- OracleConnectionString.cs
- XmlC14NWriter.cs
- CheckPair.cs
- TypeUsage.cs
- SpecularMaterial.cs
- DurableDispatcherAddressingFault.cs
- Visitors.cs
- UpdateException.cs
- GenericTypeParameterBuilder.cs
- UriScheme.cs
- AllMembershipCondition.cs
- ListViewItemMouseHoverEvent.cs
- SoapInteropTypes.cs
- ContentFilePart.cs
- TextServicesPropertyRanges.cs
- PropertyExpression.cs
- StringCollectionEditor.cs
- CodeExpressionStatement.cs
- PointLightBase.cs
- DescendentsWalkerBase.cs
- CatalogPart.cs
- ConfigurationManagerHelper.cs
- DesignerDataParameter.cs
- DataGridItemEventArgs.cs
- LocatorPartList.cs
- X509CertificateTokenFactoryCredential.cs
- WebPartDisplayMode.cs
- DataError.cs
- TextPointer.cs
- XmlDocument.cs
- IntegerFacetDescriptionElement.cs
- SqlUtil.cs
- ScriptingRoleServiceSection.cs
- ThemeConfigurationDialog.cs
- DrawingGroupDrawingContext.cs
- FontInfo.cs
- Wow64ConfigurationLoader.cs
- AbandonedMutexException.cs
- followingquery.cs
- XmlSchemaSimpleContentRestriction.cs
- formatter.cs
- baseaxisquery.cs
- QuaternionAnimation.cs
- NotCondition.cs
- TdsParserHelperClasses.cs
- ForceCopyBuildProvider.cs
- EntityDesignerBuildProvider.cs
- DotAtomReader.cs
- IntegerFacetDescriptionElement.cs
- ImageCodecInfoPrivate.cs
- ToolStripTextBox.cs
- DispatcherProcessingDisabled.cs
- UniqueIdentifierService.cs
- MessageQueuePermissionEntry.cs
- Schema.cs
- WpfWebRequestHelper.cs
- PrintDialog.cs
- RadioButton.cs
- _ConnectOverlappedAsyncResult.cs
- Int64Animation.cs
- ErrorInfoXmlDocument.cs
- PersonalizationStateQuery.cs
- LogicalExpr.cs
- HtmlInputSubmit.cs
- ColumnHeaderCollectionEditor.cs
- _ListenerAsyncResult.cs
- BatchWriter.cs
- ChangePassword.cs
- UIEndRequest.cs
- MoveSizeWinEventHandler.cs
- ModuleElement.cs
- BitmapCache.cs
- FormView.cs
- FixedSOMImage.cs
- BitmapData.cs
- SerializableAuthorizationContext.cs
- SequenceDesigner.xaml.cs
- TreeNodeClickEventArgs.cs
- InternalControlCollection.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- WebBrowserContainer.cs
- SessionState.cs
- Win32MouseDevice.cs
- SerializationObjectManager.cs
- Padding.cs
- ValidationHelpers.cs
- ProfileGroupSettingsCollection.cs
- DefaultClaimSet.cs