Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Activation / AspNetCompatibilityRequirementsMode.cs / 1 / AspNetCompatibilityRequirementsMode.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Activation { using System.ComponentModel; public enum AspNetCompatibilityRequirementsMode { NotAllowed, Allowed, Required, } static class AspNetCompatibilityRequirementsModeHelper { static public bool IsDefined(AspNetCompatibilityRequirementsMode x) { return x == AspNetCompatibilityRequirementsMode.NotAllowed || x == AspNetCompatibilityRequirementsMode.Allowed || x == AspNetCompatibilityRequirementsMode.Required || false; } public static void Validate(AspNetCompatibilityRequirementsMode value) { if (!IsDefined(value)) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidEnumArgumentException("value", (int)value, typeof(AspNetCompatibilityRequirementsMode))); } } } } // 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
- FileDialogCustomPlace.cs
- PolyBezierSegmentFigureLogic.cs
- XmlWriter.cs
- XmlSchemaComplexContentRestriction.cs
- ContentPlaceHolder.cs
- SqlFileStream.cs
- CommonProperties.cs
- AutoResizedEvent.cs
- StorageRoot.cs
- CodePrimitiveExpression.cs
- ACL.cs
- SlipBehavior.cs
- ReadOnlyCollectionBuilder.cs
- FunctionDetailsReader.cs
- TreeViewAutomationPeer.cs
- SplineQuaternionKeyFrame.cs
- PersonalizationStateInfo.cs
- PropertyAccessVisitor.cs
- OuterGlowBitmapEffect.cs
- HtmlTableRow.cs
- AddInController.cs
- Int32EqualityComparer.cs
- DesignUtil.cs
- MediaContextNotificationWindow.cs
- MethodCallConverter.cs
- WindowsAuthenticationEventArgs.cs
- QueryConverter.cs
- CaseInsensitiveOrdinalStringComparer.cs
- Tuple.cs
- InheritanceRules.cs
- WindowsIPAddress.cs
- WebBrowserDocumentCompletedEventHandler.cs
- EditorPartChrome.cs
- FtpWebRequest.cs
- FormView.cs
- Screen.cs
- ConfigPathUtility.cs
- ControlAdapter.cs
- TextEncodedRawTextWriter.cs
- LinqDataSourceSelectEventArgs.cs
- Rotation3DAnimation.cs
- ChannelSinkStacks.cs
- NativeMethods.cs
- ImageButton.cs
- MsmqAppDomainProtocolHandler.cs
- SubpageParaClient.cs
- SQLCharsStorage.cs
- XmlValidatingReaderImpl.cs
- EmptyEnumerator.cs
- SearchForVirtualItemEventArgs.cs
- CodeSubDirectory.cs
- SafeRightsManagementHandle.cs
- EditorAttribute.cs
- DesignSurfaceCollection.cs
- CodeMemberMethod.cs
- TypeToken.cs
- XAMLParseException.cs
- TextRangeProviderWrapper.cs
- TextContainerChangeEventArgs.cs
- MouseGestureValueSerializer.cs
- CodeParameterDeclarationExpressionCollection.cs
- Model3DGroup.cs
- ExpressionEvaluator.cs
- StorageInfo.cs
- Bold.cs
- FilterElement.cs
- TiffBitmapDecoder.cs
- DocumentGrid.cs
- DataGridViewIntLinkedList.cs
- cookiecontainer.cs
- Membership.cs
- XsltSettings.cs
- FreezableOperations.cs
- Rect.cs
- FileClassifier.cs
- StoreConnection.cs
- HttpListenerContext.cs
- WebPartManagerDesigner.cs
- SecurityCriticalDataForSet.cs
- RadioButton.cs
- HttpSocketManager.cs
- Scene3D.cs
- EditorZone.cs
- ExpressionList.cs
- XmlSchemaDatatype.cs
- ProfileSection.cs
- Rect3D.cs
- Delegate.cs
- NamespaceMapping.cs
- DiscoveryVersion.cs
- CustomAssemblyResolver.cs
- TrackingMemoryStream.cs
- ProcessHost.cs
- XmlSchemaType.cs
- DetailsViewUpdatedEventArgs.cs
- PartialCachingAttribute.cs
- TCPListener.cs
- DataColumnPropertyDescriptor.cs
- ToolStripButton.cs
- formatter.cs