Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / NetMsmqSecurityMode.cs / 1 / NetMsmqSecurityMode.cs
//---------------------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------------------- namespace System.ServiceModel { using System.ServiceModel.Channels; public enum NetMsmqSecurityMode { None, Transport, Message, Both } static class NetMsmqSecurityModeHelper { internal static bool IsDefined(NetMsmqSecurityMode value) { return (value == NetMsmqSecurityMode.Transport || value == NetMsmqSecurityMode.Message || value == NetMsmqSecurityMode.Both || value == NetMsmqSecurityMode.None); } internal static NetMsmqSecurityMode ToSecurityMode(UnifiedSecurityMode value) { switch (value) { case UnifiedSecurityMode.None: return NetMsmqSecurityMode.None; case UnifiedSecurityMode.Transport: return NetMsmqSecurityMode.Transport; case UnifiedSecurityMode.Message: return NetMsmqSecurityMode.Message; case UnifiedSecurityMode.Both: return NetMsmqSecurityMode.Both; default: return (NetMsmqSecurityMode)value; } } } } // 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
- HtmlTextBoxAdapter.cs
- Environment.cs
- BaseProcessor.cs
- ProfileBuildProvider.cs
- ExpressionDumper.cs
- LocatorPart.cs
- ImageMetadata.cs
- UIElementParagraph.cs
- Translator.cs
- IPEndPointCollection.cs
- MonthCalendar.cs
- IDispatchConstantAttribute.cs
- UpdateEventArgs.cs
- TargetControlTypeCache.cs
- _NtlmClient.cs
- ToolStripComboBox.cs
- SourceItem.cs
- CodeDOMProvider.cs
- WmpBitmapDecoder.cs
- Root.cs
- MessageSmuggler.cs
- SubMenuStyle.cs
- Intellisense.cs
- Activity.cs
- TypeForwardedToAttribute.cs
- RootCodeDomSerializer.cs
- EmbeddedMailObject.cs
- MinimizableAttributeTypeConverter.cs
- RubberbandSelector.cs
- IpcPort.cs
- CssStyleCollection.cs
- DataGridPageChangedEventArgs.cs
- RootBrowserWindow.cs
- InstanceLockException.cs
- XmlSchemaComplexContent.cs
- Scheduler.cs
- FusionWrap.cs
- DetailsViewInsertedEventArgs.cs
- Attributes.cs
- MsmqIntegrationChannelListener.cs
- UrlAuthFailureHandler.cs
- ObjectSpanRewriter.cs
- ThicknessKeyFrameCollection.cs
- PropertySegmentSerializer.cs
- SemanticTag.cs
- LazyTextWriterCreator.cs
- uribuilder.cs
- UTF7Encoding.cs
- XslCompiledTransform.cs
- ObjectDataSourceEventArgs.cs
- SiteMapNodeItemEventArgs.cs
- DesignTimeTemplateParser.cs
- EventsTab.cs
- ByteStorage.cs
- ProviderException.cs
- OperationAbortedException.cs
- ComplexPropertyEntry.cs
- XmlILOptimizerVisitor.cs
- MergeLocalizationDirectives.cs
- FixedTextPointer.cs
- SqlExpander.cs
- TextRenderer.cs
- CheckBoxField.cs
- LightweightCodeGenerator.cs
- GestureRecognitionResult.cs
- RSAPKCS1SignatureDeformatter.cs
- LicenseProviderAttribute.cs
- smtppermission.cs
- BamlStream.cs
- SqlDataSourceEnumerator.cs
- ValidationErrorEventArgs.cs
- DeploymentSection.cs
- PresentationSource.cs
- SqlGenerator.cs
- WebProxyScriptElement.cs
- NativeMethods.cs
- Point4D.cs
- RenderOptions.cs
- BlockUIContainer.cs
- ObjectListCommandCollection.cs
- DataGridComboBoxColumn.cs
- MemoryStream.cs
- SHA384.cs
- XmlElement.cs
- SqlClientMetaDataCollectionNames.cs
- ViewSimplifier.cs
- HwndStylusInputProvider.cs
- ExecutedRoutedEventArgs.cs
- WebDisplayNameAttribute.cs
- DbConnectionFactory.cs
- NegationPusher.cs
- TextProperties.cs
- ContentPropertyAttribute.cs
- StrongNameUtility.cs
- GroupByExpressionRewriter.cs
- TextPenaltyModule.cs
- Peer.cs
- LinkedResourceCollection.cs
- DataColumnPropertyDescriptor.cs
- StateWorkerRequest.cs