Code:
/ DotNET / DotNET / 8.0 / untmp / Orcas / RTM / ndp / fx / src / xsp / System / Web / Extensions / Script / Services / ScriptMethodAttribute.cs / 1 / ScriptMethodAttribute.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Script.Services { using System; using System.Security.Permissions; using System.Web; [ AspNetHostingPermission(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal), AttributeUsage(AttributeTargets.Method) ] public sealed class ScriptMethodAttribute : Attribute { private ResponseFormat _responseFormat; private bool _useHttpGet; private bool _xmlSerializeString; public ResponseFormat ResponseFormat { get { return _responseFormat; } set { _responseFormat = value; } } public bool UseHttpGet { get { return _useHttpGet; } set { _useHttpGet = value; } } public bool XmlSerializeString { get { return _xmlSerializeString; } set { _xmlSerializeString = 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
- ConsoleCancelEventArgs.cs
- XmlImplementation.cs
- EntryWrittenEventArgs.cs
- SparseMemoryStream.cs
- SqlProviderUtilities.cs
- InvalidStoreProtectionKeyException.cs
- MultiPartWriter.cs
- InvokeHandlers.cs
- HandlerFactoryWrapper.cs
- CustomBinding.cs
- FormViewModeEventArgs.cs
- DataTable.cs
- ExitEventArgs.cs
- PackWebResponse.cs
- PageSetupDialog.cs
- XPathException.cs
- EpmContentSerializer.cs
- ColumnHeader.cs
- PropertyInformation.cs
- TargetException.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- FixedSOMGroup.cs
- DataGridViewAdvancedBorderStyle.cs
- Accessible.cs
- CheckBoxRenderer.cs
- RowSpanVector.cs
- AccessibleObject.cs
- Matrix.cs
- Monitor.cs
- RectangleConverter.cs
- FormClosingEvent.cs
- EntityDataSourceMemberPath.cs
- SQLCharsStorage.cs
- SafeSecurityHandles.cs
- SubMenuStyleCollection.cs
- ScrollPattern.cs
- ThreadStateException.cs
- GenericUriParser.cs
- ListSortDescription.cs
- wgx_commands.cs
- MimeTypePropertyAttribute.cs
- KnownBoxes.cs
- IQueryable.cs
- RegexRunner.cs
- SqlUnionizer.cs
- ConfigurationValue.cs
- EntityClientCacheEntry.cs
- mediaclock.cs
- DesignerDataSourceView.cs
- BasicExpandProvider.cs
- HebrewNumber.cs
- base64Transforms.cs
- MouseOverProperty.cs
- GetPageCompletedEventArgs.cs
- _LocalDataStore.cs
- SQLBytesStorage.cs
- PropertyPushdownHelper.cs
- UnknownBitmapDecoder.cs
- ProtocolsInstallComponent.cs
- ComplexType.cs
- TypeDescriptionProvider.cs
- InternalRelationshipCollection.cs
- SqlFlattener.cs
- ListView.cs
- ProviderException.cs
- BeginStoryboard.cs
- WebMessageEncodingBindingElement.cs
- RangeBase.cs
- WindowsTokenRoleProvider.cs
- XmlAttributeProperties.cs
- OleDbDataReader.cs
- Hex.cs
- DiffuseMaterial.cs
- CodeBlockBuilder.cs
- ToolBarButtonClickEvent.cs
- SctClaimSerializer.cs
- SQLInt16.cs
- XmlSchemaProviderAttribute.cs
- CodeExporter.cs
- PointAnimation.cs
- RenderingBiasValidation.cs
- ObjectSecurity.cs
- Int32KeyFrameCollection.cs
- WindowsIPAddress.cs
- XamlBrushSerializer.cs
- NTAccount.cs
- ToolStripDropDownMenu.cs
- CustomAttribute.cs
- OutputWindow.cs
- ISFClipboardData.cs
- Expressions.cs
- StickyNote.cs
- TileModeValidation.cs
- XmlSchemaSet.cs
- SID.cs
- StylusPointProperty.cs
- XmlStreamNodeWriter.cs
- x509store.cs
- pingexception.cs
- RemoteWebConfigurationHostServer.cs