Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ViewCellSlot.cs
- JapaneseCalendar.cs
- PriorityItem.cs
- EventSchemaTraceListener.cs
- RoleGroup.cs
- NativeCppClassAttribute.cs
- Scheduler.cs
- FieldDescriptor.cs
- MultilineStringEditor.cs
- ManipulationDeltaEventArgs.cs
- XmlTextReaderImpl.cs
- RootBrowserWindowAutomationPeer.cs
- XamlToRtfParser.cs
- HierarchicalDataBoundControl.cs
- FragmentQueryProcessor.cs
- RowToParametersTransformer.cs
- CredentialCache.cs
- NewArrayExpression.cs
- CallbackException.cs
- NameTable.cs
- PointAnimationUsingKeyFrames.cs
- SQLCharsStorage.cs
- WorkflowView.cs
- CodePageUtils.cs
- DynamicRenderer.cs
- DefaultValueConverter.cs
- RegexCaptureCollection.cs
- XPathPatternParser.cs
- iisPickupDirectory.cs
- Vector3D.cs
- MetaTableHelper.cs
- XmlSchemaAny.cs
- SoapAttributeOverrides.cs
- MessageHeaderT.cs
- newinstructionaction.cs
- Resources.Designer.cs
- WebServiceBindingAttribute.cs
- LinkAreaEditor.cs
- ListView.cs
- validationstate.cs
- localization.cs
- DataRowCollection.cs
- SoapSchemaExporter.cs
- BamlRecordHelper.cs
- TextFormatterHost.cs
- SafeEventLogWriteHandle.cs
- WebPartDescription.cs
- OperationCanceledException.cs
- PointValueSerializer.cs
- CodeValidator.cs
- X509IssuerSerialKeyIdentifierClause.cs
- HostingEnvironmentSection.cs
- LocalizableAttribute.cs
- UInt64Converter.cs
- EncoderParameters.cs
- FrameworkElementFactory.cs
- InvalidEnumArgumentException.cs
- Encoder.cs
- XmlEncodedRawTextWriter.cs
- ObjectSecurity.cs
- SoapCommonClasses.cs
- VectorAnimationUsingKeyFrames.cs
- XmlNodeList.cs
- InternalsVisibleToAttribute.cs
- ServiceDefaults.cs
- ColumnResizeUndoUnit.cs
- Win32SafeHandles.cs
- MouseButton.cs
- DocumentGrid.cs
- SecureUICommand.cs
- LocalizationParserHooks.cs
- SecurityUniqueId.cs
- LockedAssemblyCache.cs
- IndexedEnumerable.cs
- DBCommand.cs
- CompressedStack.cs
- Attributes.cs
- HtmlElementCollection.cs
- listitem.cs
- HtmlElement.cs
- WebPageTraceListener.cs
- Simplifier.cs
- StrongNameKeyPair.cs
- SynchronizedDispatch.cs
- QilFunction.cs
- ExpressionBuilder.cs
- EditorOptionAttribute.cs
- FSWPathEditor.cs
- StreamMarshaler.cs
- XmlToDatasetMap.cs
- CodeDelegateInvokeExpression.cs
- ActivitySurrogateSelector.cs
- EventItfInfo.cs
- WindowsScroll.cs
- GeneralTransform3D.cs
- EventLogRecord.cs
- TextAdaptor.cs
- TableRow.cs
- TrimSurroundingWhitespaceAttribute.cs
- MenuItem.cs