Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Channels / SecurityHeaderLayout.cs / 1 / SecurityHeaderLayout.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Channels { using System.ComponentModel; public enum SecurityHeaderLayout { Strict = 0, Lax = 1, LaxTimestampFirst = 2, LaxTimestampLast = 3 } static class SecurityHeaderLayoutHelper { public static bool IsDefined(SecurityHeaderLayout value) { return (value == SecurityHeaderLayout.Lax || value == SecurityHeaderLayout.LaxTimestampFirst || value == SecurityHeaderLayout.LaxTimestampLast || value == SecurityHeaderLayout.Strict); } public static void Validate(SecurityHeaderLayout value) { if (!IsDefined(value)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, typeof(SecurityHeaderLayout))); } } } } // 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
- MethodBuilder.cs
- EnumerableValidator.cs
- SR.cs
- Keyboard.cs
- RowVisual.cs
- ToolStripManager.cs
- RsaSecurityTokenAuthenticator.cs
- SrgsItemList.cs
- ThreadStaticAttribute.cs
- CatalogZoneBase.cs
- ChoiceConverter.cs
- ModelPerspective.cs
- WindowsStatusBar.cs
- XmlReflectionImporter.cs
- InputScopeConverter.cs
- QueryHandler.cs
- BooleanAnimationBase.cs
- RegexMatch.cs
- XLinq.cs
- IsolatedStorageFileStream.cs
- ContainerAction.cs
- TextMetrics.cs
- Exception.cs
- ElementsClipboardData.cs
- iisPickupDirectory.cs
- RenderData.cs
- WebResourceAttribute.cs
- XmlUTF8TextReader.cs
- IDataContractSurrogate.cs
- SByte.cs
- DeleteMemberBinder.cs
- HttpPostProtocolReflector.cs
- DiscoveryClientBindingElement.cs
- LinkedList.cs
- RefType.cs
- CommandEventArgs.cs
- VolatileResourceManager.cs
- EndpointDispatcherTable.cs
- ScrollBarAutomationPeer.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CmsInterop.cs
- _HeaderInfo.cs
- JobStaple.cs
- Misc.cs
- FormsAuthenticationUserCollection.cs
- DispatcherObject.cs
- RepeatButtonAutomationPeer.cs
- UnmanagedMarshal.cs
- HostProtectionException.cs
- ResourceDescriptionAttribute.cs
- BlockExpression.cs
- ProtectedConfigurationProviderCollection.cs
- WebPartDeleteVerb.cs
- ViewgenGatekeeper.cs
- InheritedPropertyChangedEventArgs.cs
- SafeReadContext.cs
- DotNetATv1WindowsLogEntrySerializer.cs
- QilInvokeEarlyBound.cs
- TextViewElement.cs
- PointConverter.cs
- WebBrowserProgressChangedEventHandler.cs
- TemplateControl.cs
- SqlConnectionPoolProviderInfo.cs
- Attributes.cs
- ButtonBase.cs
- ClientScriptManager.cs
- DeviceContext.cs
- TreeBuilderXamlTranslator.cs
- UrlPath.cs
- WebHttpDispatchOperationSelector.cs
- ValidatingReaderNodeData.cs
- StaticFileHandler.cs
- MethodMessage.cs
- Gdiplus.cs
- EnumConverter.cs
- XPathParser.cs
- AnnotationResourceChangedEventArgs.cs
- SeekStoryboard.cs
- ButtonStandardAdapter.cs
- ContextDataSourceContextData.cs
- KeyGestureValueSerializer.cs
- FixedBufferAttribute.cs
- BufferAllocator.cs
- InteropAutomationProvider.cs
- TextChange.cs
- DataGridViewUtilities.cs
- DashStyles.cs
- LocalFileSettingsProvider.cs
- SqlFunctionAttribute.cs
- ResourceDescriptionAttribute.cs
- CatalogPartDesigner.cs
- CompilerScopeManager.cs
- TextAnchor.cs
- XmlToDatasetMap.cs
- SimpleBitVector32.cs
- ReflectionPermission.cs
- OdbcReferenceCollection.cs
- AnnotationAuthorChangedEventArgs.cs
- SHA1Managed.cs
- ObjectDataSource.cs