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
- QueryCacheKey.cs
- XmlCharacterData.cs
- UserMapPath.cs
- ToolStripSplitStackLayout.cs
- AssociativeAggregationOperator.cs
- BufferModeSettings.cs
- WindowsFormsSectionHandler.cs
- AssociatedControlConverter.cs
- TypeToken.cs
- TypeBrowserDialog.cs
- StylusPointDescription.cs
- Error.cs
- ClientScriptItemCollection.cs
- ReversePositionQuery.cs
- HttpWriter.cs
- DropDownButton.cs
- LinqDataSourceInsertEventArgs.cs
- ErrorLog.cs
- LabelEditEvent.cs
- XmlTextEncoder.cs
- InvalidEnumArgumentException.cs
- SettingsSection.cs
- XmlTextReaderImplHelpers.cs
- DefaultExpressionVisitor.cs
- UniqueIdentifierService.cs
- PrivateFontCollection.cs
- ByteStream.cs
- exports.cs
- DiscoveryClientDuplexChannel.cs
- ServiceReference.cs
- WindowsGraphics.cs
- ProjectionPlanCompiler.cs
- AdornedElementPlaceholder.cs
- ACL.cs
- ProtocolImporter.cs
- Interlocked.cs
- InternalBase.cs
- LogExtentCollection.cs
- MappingMetadataHelper.cs
- Int32Storage.cs
- RequiredAttributeAttribute.cs
- DynamicMetaObjectBinder.cs
- OleDbDataAdapter.cs
- SafeIUnknown.cs
- HtmlInputText.cs
- XmlHierarchicalDataSourceView.cs
- SecurityTokenTypes.cs
- SoapAttributeOverrides.cs
- WebRequest.cs
- TableItemProviderWrapper.cs
- RandomNumberGenerator.cs
- DesignerDeviceConfig.cs
- TransactionFlowElement.cs
- CultureTableRecord.cs
- HttpContextWrapper.cs
- FileDocument.cs
- FieldToken.cs
- CachedTypeface.cs
- DbUpdateCommandTree.cs
- ChannelDemuxer.cs
- PackageDocument.cs
- ObjectQueryExecutionPlan.cs
- Int32Storage.cs
- InvalidPipelineStoreException.cs
- SignedInfo.cs
- IpcPort.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- RadioButtonStandardAdapter.cs
- HttpClientCertificate.cs
- HtmlControl.cs
- LoadMessageLogger.cs
- RegexWriter.cs
- PersonalizationStateInfo.cs
- NumericUpDownAccelerationCollection.cs
- SqlDependency.cs
- ForceCopyBuildProvider.cs
- MemberDomainMap.cs
- SizeKeyFrameCollection.cs
- StaticContext.cs
- AuthenticatingEventArgs.cs
- FaultPropagationRecord.cs
- versioninfo.cs
- XPathAncestorIterator.cs
- RuleSetReference.cs
- VisualTransition.cs
- TableSectionStyle.cs
- InlinedAggregationOperator.cs
- AuthorizationSection.cs
- PrefixQName.cs
- MimeMapping.cs
- CodeCommentStatementCollection.cs
- DeviceContext2.cs
- XmlSchemaExporter.cs
- DBConnection.cs
- EventRecordWrittenEventArgs.cs
- RegexWriter.cs
- TypedReference.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- MetadataCacheItem.cs
- LockCookie.cs