Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataWeb / Server / System / Data / Services / ChangeInterceptorAttribute.cs / 1305376 / ChangeInterceptorAttribute.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Provides a class to decorate change callback methods. // // // @owner [....] //--------------------------------------------------------------------- namespace System.Data.Services { using System; using System.Diagnostics; ////// Use this attribute on a DataService method to indicate that /// this method should be invoked with data changes. /// [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = true)] public sealed class ChangeInterceptorAttribute : Attribute { ///Container name that the method filters. private readonly string entitySetName; ///Declares a new /// Name of entity set that the method intercepts changes to. public ChangeInterceptorAttribute(string entitySetName) { if (entitySetName == null) { throw Error.ArgumentNull("entitySetName"); } this.entitySetName = entitySetName; } ///instance. Entity set name that the method intercepts changes to. public string EntitySetName { [DebuggerStepThrough] get { return this.entitySetName; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- AutomationElementCollection.cs
- IisNotInstalledException.cs
- DictionaryGlobals.cs
- SecUtil.cs
- UnsafeNativeMethods.cs
- ContainerControl.cs
- PolyQuadraticBezierSegment.cs
- SqlCacheDependencySection.cs
- SafeNativeMethods.cs
- ClientOptions.cs
- ButtonBaseAdapter.cs
- LocalizationComments.cs
- ExchangeUtilities.cs
- ConfigurationException.cs
- TypeConverterAttribute.cs
- ProfileManager.cs
- CallbackHandler.cs
- DNS.cs
- DatagridviewDisplayedBandsData.cs
- IsolatedStorageFile.cs
- UIElementHelper.cs
- PointAnimationBase.cs
- AccessDataSourceView.cs
- UnsafeNativeMethods.cs
- AppModelKnownContentFactory.cs
- AssociatedControlConverter.cs
- EncoderExceptionFallback.cs
- WebResourceAttribute.cs
- DispatcherOperation.cs
- ProfileSettingsCollection.cs
- XhtmlConformanceSection.cs
- XamlDesignerSerializationManager.cs
- EdmPropertyAttribute.cs
- Application.cs
- LogEntrySerialization.cs
- SafePEFileHandle.cs
- AutomationProperty.cs
- EventLogInternal.cs
- Function.cs
- DefaultPrintController.cs
- FontFamilyIdentifier.cs
- ZipIOLocalFileBlock.cs
- SqlFactory.cs
- TypeAccessException.cs
- VisualStyleElement.cs
- WebPartDisplayModeCancelEventArgs.cs
- ToolbarAUtomationPeer.cs
- ReturnEventArgs.cs
- CookielessHelper.cs
- XmlSchemaProviderAttribute.cs
- DataSourceCacheDurationConverter.cs
- CommonDialog.cs
- DataGridLinkButton.cs
- ColumnWidthChangingEvent.cs
- WebPartEditorApplyVerb.cs
- MenuStrip.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- ResXBuildProvider.cs
- FastEncoder.cs
- HtmlContainerControl.cs
- GridViewSelectEventArgs.cs
- XmlSchemaAnnotation.cs
- categoryentry.cs
- TabPage.cs
- SessionSwitchEventArgs.cs
- formatstringdialog.cs
- ResXResourceSet.cs
- DesignerDataConnection.cs
- DBConcurrencyException.cs
- PropertyChangeTracker.cs
- ProfileService.cs
- NamedPipeProcessProtocolHandler.cs
- WmlMobileTextWriter.cs
- CommandLineParser.cs
- WebPartPersonalization.cs
- XmlNode.cs
- ParserContext.cs
- BrushConverter.cs
- BeginStoryboard.cs
- PrinterUnitConvert.cs
- WebConfigurationHostFileChange.cs
- StreamGeometry.cs
- FileDialog_Vista.cs
- BaseCollection.cs
- OperationAbortedException.cs
- EncoderReplacementFallback.cs
- LogFlushAsyncResult.cs
- DataControlLinkButton.cs
- iisPickupDirectory.cs
- SplitterCancelEvent.cs
- XmlProcessingInstruction.cs
- XmlSchemaSimpleType.cs
- Internal.cs
- TemplateControl.cs
- TabletCollection.cs
- ipaddressinformationcollection.cs
- DataGridViewCellValueEventArgs.cs
- XPathDocumentIterator.cs
- InternalsVisibleToAttribute.cs
- ColumnBinding.cs