Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataWeb / Client / System / Data / Services / Client / SendingRequestEventArgs.cs / 1 / SendingRequestEventArgs.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Event args for the event fired before executing a web request. Gives a // chance to customize or replace the request object to be used. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Net; ////// Event args for the event fired before executing a web request. Gives a /// chance to customize or replace the request object to be used. /// public class SendingRequestEventArgs : EventArgs { ///The web request reported through this event private WebRequest request; ////// Constructor /// /// The request reported through this event internal SendingRequestEventArgs(WebRequest request) { this.request = request; } ///The web request reported through this event. The handler may modify or replace it. public WebRequest Request { get { return this.request; } set { Util.CheckArgumentNull(value, "value"); if (!(value is HttpWebRequest)) { throw Error.Argument(Strings.Context_SendingRequestEventArgsNotHttp, "value"); } this.request = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // //// Event args for the event fired before executing a web request. Gives a // chance to customize or replace the request object to be used. // //--------------------------------------------------------------------- namespace System.Data.Services.Client { using System; using System.Net; ////// Event args for the event fired before executing a web request. Gives a /// chance to customize or replace the request object to be used. /// public class SendingRequestEventArgs : EventArgs { ///The web request reported through this event private WebRequest request; ////// Constructor /// /// The request reported through this event internal SendingRequestEventArgs(WebRequest request) { this.request = request; } ///The web request reported through this event. The handler may modify or replace it. public WebRequest Request { get { return this.request; } set { Util.CheckArgumentNull(value, "value"); if (!(value is HttpWebRequest)) { throw Error.Argument(Strings.Context_SendingRequestEventArgsNotHttp, "value"); } this.request = value; } } } } // 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
- RangeContentEnumerator.cs
- DataServiceExpressionVisitor.cs
- FileUpload.cs
- WindowsFormsSynchronizationContext.cs
- iisPickupDirectory.cs
- ScaleTransform3D.cs
- DiagnosticsConfigurationHandler.cs
- ProcessManager.cs
- CompressStream.cs
- ComponentEditorPage.cs
- DiscoveryMessageSequenceGenerator.cs
- InputElement.cs
- ContextMenuService.cs
- NativeMethods.cs
- SystemPens.cs
- Emitter.cs
- cookieexception.cs
- EmptyStringExpandableObjectConverter.cs
- RegexReplacement.cs
- CompilerGeneratedAttribute.cs
- XmlNamespaceMapping.cs
- XmlSchemaAnnotation.cs
- UserCancellationException.cs
- ZipIOFileItemStream.cs
- WindowsAuthenticationEventArgs.cs
- OnOperation.cs
- FloatMinMaxAggregationOperator.cs
- Comparer.cs
- DashStyle.cs
- DesignerRegionCollection.cs
- SqlXmlStorage.cs
- _LocalDataStoreMgr.cs
- SoapEnumAttribute.cs
- ConfigurationPropertyCollection.cs
- TextRangeEditLists.cs
- EdmItemCollection.cs
- XmlSchemaResource.cs
- TraceSection.cs
- ConnectionsZone.cs
- ConsumerConnectionPointCollection.cs
- CultureInfo.cs
- XPathNode.cs
- BaseParaClient.cs
- ColorMatrix.cs
- ApplicationActivator.cs
- NotificationContext.cs
- OneOfElement.cs
- DesignerSerializerAttribute.cs
- QilScopedVisitor.cs
- NumberFunctions.cs
- EncodingTable.cs
- CallbackHandler.cs
- FixUpCollection.cs
- CodeSubDirectory.cs
- Sentence.cs
- WebPartZoneAutoFormat.cs
- DataGridViewComboBoxColumn.cs
- ALinqExpressionVisitor.cs
- HttpCacheVary.cs
- DetailsViewAutoFormat.cs
- EditorAttribute.cs
- FontEmbeddingManager.cs
- QueryTaskGroupState.cs
- VisualProxy.cs
- RouteData.cs
- XNodeValidator.cs
- XmlWriterSettings.cs
- mediaeventshelper.cs
- DependencyPropertyHelper.cs
- LinqDataSourceContextData.cs
- ToolStripContainerDesigner.cs
- SQLInt64Storage.cs
- PerspectiveCamera.cs
- ObjectStateManagerMetadata.cs
- ViewCellRelation.cs
- RtfToken.cs
- StringFormat.cs
- StorageEntityTypeMapping.cs
- XmlReflectionMember.cs
- SoapFormatExtensions.cs
- PrintController.cs
- HeaderedContentControl.cs
- ADMembershipUser.cs
- DataGridViewSelectedRowCollection.cs
- Overlapped.cs
- FixedSOMSemanticBox.cs
- ControlsConfig.cs
- StylusPointProperty.cs
- WinInet.cs
- RunInstallerAttribute.cs
- EntityDataSourceContextCreatingEventArgs.cs
- SqlDataSourceCache.cs
- SmtpNtlmAuthenticationModule.cs
- Pool.cs
- RTTrackingProfile.cs
- ContainerParaClient.cs
- CanonicalFontFamilyReference.cs
- DataBindingList.cs
- TextBox.cs
- OutputCacheSettings.cs