Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / SecurityMode.cs / 1 / SecurityMode.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel { public enum SecurityMode { None, Transport, Message, TransportWithMessageCredential } static class SecurityModeHelper { internal static bool IsDefined(SecurityMode value) { return (value == SecurityMode.None || value == SecurityMode.Transport || value == SecurityMode.Message || value == SecurityMode.TransportWithMessageCredential); } internal static SecurityMode ToSecurityMode(UnifiedSecurityMode value) { switch (value) { case UnifiedSecurityMode.None: return SecurityMode.None; case UnifiedSecurityMode.Transport: return SecurityMode.Transport; case UnifiedSecurityMode.Message: return SecurityMode.Message; case UnifiedSecurityMode.TransportWithMessageCredential: return SecurityMode.TransportWithMessageCredential; default: return (SecurityMode)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
- WindowsTooltip.cs
- ListViewTableRow.cs
- Decoder.cs
- QilValidationVisitor.cs
- MessageDesigner.cs
- Menu.cs
- PolyLineSegment.cs
- DataListItemCollection.cs
- ConfigurationElement.cs
- RadioButton.cs
- LocalizationParserHooks.cs
- PrintPreviewControl.cs
- InvalidProgramException.cs
- TemplateField.cs
- ConvertEvent.cs
- Debug.cs
- FacetEnabledSchemaElement.cs
- SpeechAudioFormatInfo.cs
- RelationshipDetailsRow.cs
- SubpageParaClient.cs
- LinkAreaEditor.cs
- RoutedEventHandlerInfo.cs
- EntityReference.cs
- DoubleIndependentAnimationStorage.cs
- CompilerInfo.cs
- DataIdProcessor.cs
- FtpCachePolicyElement.cs
- XmlTextWriter.cs
- TerminatorSinks.cs
- PageOutputColor.cs
- CommandPlan.cs
- NativeMethods.cs
- Matrix3DStack.cs
- XamlTemplateSerializer.cs
- MobileControlBuilder.cs
- ToolStripDropDownClosedEventArgs.cs
- BitmapVisualManager.cs
- ExceptionUtil.cs
- ObjectViewQueryResultData.cs
- CompModHelpers.cs
- Highlights.cs
- TreeViewImageIndexConverter.cs
- ListChunk.cs
- TransactionsSectionGroup.cs
- SQLMembershipProvider.cs
- HtmlHead.cs
- SmtpNetworkElement.cs
- ResourceReferenceExpression.cs
- ToolBarDesigner.cs
- CommonEndpointBehaviorElement.cs
- DataBoundControlHelper.cs
- QilInvokeEarlyBound.cs
- XmlParser.cs
- _ConnectStream.cs
- Model3DGroup.cs
- ISCIIEncoding.cs
- ZipQueryOperator.cs
- BamlLocalizabilityResolver.cs
- QuaternionValueSerializer.cs
- CheckBoxList.cs
- contentDescriptor.cs
- RangeValuePatternIdentifiers.cs
- RedistVersionInfo.cs
- BaseConfigurationRecord.cs
- ThreadInterruptedException.cs
- ParseElementCollection.cs
- LockCookie.cs
- TextElementCollectionHelper.cs
- AsymmetricAlgorithm.cs
- ActionFrame.cs
- FtpRequestCacheValidator.cs
- DateTimeParse.cs
- SoapExtensionTypeElement.cs
- WindowsListViewSubItem.cs
- StylusDownEventArgs.cs
- BlurBitmapEffect.cs
- ClientApiGenerator.cs
- TypeLibConverter.cs
- PropertyChangeTracker.cs
- SynchronousChannel.cs
- ColumnWidthChangedEvent.cs
- ConfigXmlText.cs
- ColorConvertedBitmapExtension.cs
- Binding.cs
- ComplusTypeValidator.cs
- CharAnimationBase.cs
- TypeTypeConverter.cs
- Container.cs
- IndentedWriter.cs
- Point4D.cs
- ContentHostHelper.cs
- FontStyle.cs
- SystemIPAddressInformation.cs
- SystemBrushes.cs
- Dictionary.cs
- CookielessHelper.cs
- TextBreakpoint.cs
- AstNode.cs
- MatrixStack.cs
- StreamingContext.cs