Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Web / System / Web / Services / Description / WebReference.cs / 1305376 / WebReference.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Services.Description { using System; using System.Net; using System.Web.Services.Description; using System.IO; using System.Xml; using System.Xml.Schema; using System.Web.Services.Protocols; using System.Text; using System.Collections; using System.Collections.Specialized; using System.Threading; using System.CodeDom; using System.Web.Services.Discovery; ////// /// public sealed class WebReference { CodeNamespace proxyCode; DiscoveryClientDocumentCollection documents; string appSettingUrlKey; string appSettingBaseUrl; string protocolName; ServiceDescriptionImportWarnings warnings; StringCollection validationWarnings; ///[To be supplied.] ////// /// public WebReference(DiscoveryClientDocumentCollection documents, CodeNamespace proxyCode, string protocolName, string appSettingUrlKey, string appSettingBaseUrl) { // parameter check if (documents == null) { throw new ArgumentNullException("documents"); } if (proxyCode == null) { // no namespace throw new ArgumentNullException("proxyCode"); } if (appSettingBaseUrl != null && appSettingUrlKey == null) { throw new ArgumentNullException("appSettingUrlKey"); } this.protocolName = protocolName; this.appSettingUrlKey = appSettingUrlKey; this.appSettingBaseUrl = appSettingBaseUrl; this.documents = documents; this.proxyCode = proxyCode; } ///[To be supplied.] ////// /// public WebReference(DiscoveryClientDocumentCollection documents, CodeNamespace proxyCode) : this(documents, proxyCode, null, null, null) { } ///[To be supplied.] ////// /// public WebReference(DiscoveryClientDocumentCollection documents, CodeNamespace proxyCode, string appSettingUrlKey, string appSettingBaseUrl) : this(documents, proxyCode, null, appSettingUrlKey, appSettingBaseUrl) { } ///[To be supplied.] ////// /// public string AppSettingBaseUrl { get { return appSettingBaseUrl; } } ///[To be supplied.] ////// /// public string AppSettingUrlKey { get { return appSettingUrlKey; } } ///[To be supplied.] ////// /// public DiscoveryClientDocumentCollection Documents { get { return documents; } } ///[To be supplied.] ////// /// public CodeNamespace ProxyCode { get { return proxyCode; } } ///[To be supplied.] ////// /// public StringCollection ValidationWarnings { get { if (validationWarnings == null) { validationWarnings = new StringCollection(); } return validationWarnings; } } ///[To be supplied.] ////// /// public ServiceDescriptionImportWarnings Warnings { get { return warnings; } set { warnings = value; } } ///[To be supplied.] ////// /// public String ProtocolName { get { return protocolName == null ? string.Empty : protocolName; } set { protocolName = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.[To be supplied.] ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeAttachEventStatement.cs
- DynamicILGenerator.cs
- ToolStripSystemRenderer.cs
- PagedControl.cs
- EventProviderWriter.cs
- listitem.cs
- DataGridPageChangedEventArgs.cs
- ProjectionPlanCompiler.cs
- EditingCoordinator.cs
- Drawing.cs
- StrokeSerializer.cs
- DataTableClearEvent.cs
- EventsTab.cs
- CapabilitiesSection.cs
- ToolBarButton.cs
- ResizeGrip.cs
- OuterGlowBitmapEffect.cs
- ColorConverter.cs
- ListViewUpdateEventArgs.cs
- TypeValidationEventArgs.cs
- SqlTrackingService.cs
- UInt64Converter.cs
- DefaultPropertyAttribute.cs
- LinearGradientBrush.cs
- QilName.cs
- SchemaNamespaceManager.cs
- RuleRef.cs
- XmlJsonWriter.cs
- InstalledFontCollection.cs
- EventWaitHandle.cs
- SelectedGridItemChangedEvent.cs
- ProxyWebPart.cs
- ValidatingReaderNodeData.cs
- InputDevice.cs
- BinaryParser.cs
- FolderBrowserDialog.cs
- ButtonBase.cs
- FormClosingEvent.cs
- BaseInfoTable.cs
- DataGridViewButtonColumn.cs
- CodeDomConfigurationHandler.cs
- EncryptedXml.cs
- ImageFormatConverter.cs
- Hex.cs
- ping.cs
- LowerCaseStringConverter.cs
- InstalledFontCollection.cs
- DateTimeFormatInfo.cs
- ScrollEventArgs.cs
- RuntimeWrappedException.cs
- PageVisual.cs
- HashAlgorithm.cs
- DictionaryContent.cs
- Scheduler.cs
- DBSqlParser.cs
- UTF8Encoding.cs
- webproxy.cs
- Authorization.cs
- ArrayElementGridEntry.cs
- HttpWriter.cs
- SubordinateTransaction.cs
- Content.cs
- ComponentSerializationService.cs
- SchemaElement.cs
- ManipulationPivot.cs
- FileDialog_Vista.cs
- DataGridViewColumnDividerDoubleClickEventArgs.cs
- StylusEventArgs.cs
- InkPresenter.cs
- formatter.cs
- SrgsElementFactoryCompiler.cs
- ListChangedEventArgs.cs
- GacUtil.cs
- ProjectedSlot.cs
- TextRunTypographyProperties.cs
- Span.cs
- DataGridViewSelectedCellCollection.cs
- ScaleTransform3D.cs
- TextBoxAutoCompleteSourceConverter.cs
- FormsAuthentication.cs
- TemplatedMailWebEventProvider.cs
- DoubleAnimationClockResource.cs
- SemanticAnalyzer.cs
- Int16Storage.cs
- DocumentGrid.cs
- AVElementHelper.cs
- CompoundFileIOPermission.cs
- WorkflowRuntimeServicesBehavior.cs
- TypeUtils.cs
- DbUpdateCommandTree.cs
- SymLanguageVendor.cs
- SqlParameterCollection.cs
- WebPartChrome.cs
- RegexCharClass.cs
- DynamicResourceExtension.cs
- AnonymousIdentificationModule.cs
- TextBoxView.cs
- Margins.cs
- MsdtcClusterUtils.cs
- Brush.cs