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
- SqlExpressionNullability.cs
- DefaultHttpHandler.cs
- GridPattern.cs
- TransformPatternIdentifiers.cs
- FocusWithinProperty.cs
- XPathAxisIterator.cs
- XmlWellformedWriter.cs
- CapabilitiesUse.cs
- InvokeSchedule.cs
- ReservationNotFoundException.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- WebPartEditorOkVerb.cs
- DbConnectionPoolOptions.cs
- WindowClosedEventArgs.cs
- mediaclock.cs
- PopupRootAutomationPeer.cs
- BinaryObjectInfo.cs
- TemplateControlParser.cs
- TextViewBase.cs
- Html32TextWriter.cs
- TextRunCache.cs
- ExpressionPrinter.cs
- RepeatButtonAutomationPeer.cs
- __Error.cs
- ApplicationCommands.cs
- PrimitiveSchema.cs
- Scripts.cs
- StorageSetMapping.cs
- DateTimeParse.cs
- VirtualPath.cs
- FieldNameLookup.cs
- DateTimeOffset.cs
- DoubleAnimationUsingKeyFrames.cs
- UnsafeNativeMethods.cs
- PriorityRange.cs
- FixedPosition.cs
- VisualState.cs
- BitmapEffectState.cs
- HiddenField.cs
- XmlDataSourceView.cs
- ScrollItemProviderWrapper.cs
- CellCreator.cs
- ClientReliableChannelBinder.cs
- OdbcInfoMessageEvent.cs
- ClientSettingsSection.cs
- ExpressionContext.cs
- RawStylusSystemGestureInputReport.cs
- ScriptManager.cs
- GifBitmapDecoder.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- COM2TypeInfoProcessor.cs
- BevelBitmapEffect.cs
- XmlDictionaryReaderQuotas.cs
- DbDataAdapter.cs
- KeyValueConfigurationCollection.cs
- KeyboardNavigation.cs
- EntityDataSourceWrapperCollection.cs
- XmlNotation.cs
- MSAAEventDispatcher.cs
- TextCharacters.cs
- CheckableControlBaseAdapter.cs
- ReachSerializerAsync.cs
- DebuggerAttributes.cs
- DelegatedStream.cs
- Rotation3D.cs
- SessionState.cs
- AsyncOperation.cs
- DataServiceRequest.cs
- M3DUtil.cs
- serverconfig.cs
- HttpDebugHandler.cs
- Faults.cs
- XamlSerializer.cs
- Int64.cs
- ParseHttpDate.cs
- ComAdminInterfaces.cs
- TimeSpanValidator.cs
- DnsPermission.cs
- ResponseBodyWriter.cs
- ParameterCollection.cs
- PropertyChangeTracker.cs
- ThreadAbortException.cs
- ItemChangedEventArgs.cs
- RuntimeIdentifierPropertyAttribute.cs
- ViewBox.cs
- TagMapCollection.cs
- SvcMapFileLoader.cs
- WeakReference.cs
- SoapConverter.cs
- MouseCaptureWithinProperty.cs
- TypedTableBase.cs
- Command.cs
- ToolStripStatusLabel.cs
- Pair.cs
- BinHexEncoder.cs
- NonVisualControlAttribute.cs
- CatalogZone.cs
- DnsPermission.cs
- TreeViewBindingsEditorForm.cs
- WindowsAltTab.cs