Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / MetadataLocation.cs / 1 / MetadataLocation.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Description { using System; using System.Collections.Generic; using System.Text; using System.Xml; using System.Xml.Serialization; [XmlRoot(ElementName = MetadataStrings.MetadataExchangeStrings.Location, Namespace = MetadataStrings.MetadataExchangeStrings.Namespace)] public class MetadataLocation { string location; public MetadataLocation() { } public MetadataLocation(string location) { this.Location = location; } [XmlText] public string Location { get { return this.location; } set { if (value != null) { Uri uri; if (!Uri.TryCreate(value, UriKind.RelativeOrAbsolute, out uri)) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SFxMetadataReferenceInvalidLocation, value)); } this.location = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Vector3DValueSerializer.cs
- LineInfo.cs
- XmlDocumentFragment.cs
- RuntimeResourceSet.cs
- SessionIDManager.cs
- TreeViewImageGenerator.cs
- SqlConnectionPoolProviderInfo.cs
- HtmlHistory.cs
- ObjectManager.cs
- RuntimeHelpers.cs
- EventLogPermissionAttribute.cs
- Quaternion.cs
- ClientBuildManager.cs
- DecimalConverter.cs
- AppDomainAttributes.cs
- DataGridViewColumnEventArgs.cs
- WmlLabelAdapter.cs
- RelationshipSet.cs
- WCFModelStrings.Designer.cs
- RecordBuilder.cs
- ScrollItemPattern.cs
- RightsDocument.cs
- ErrorRuntimeConfig.cs
- Group.cs
- SerializableAttribute.cs
- SecurityDocument.cs
- UTF8Encoding.cs
- KeyFrames.cs
- Pen.cs
- TimeSpanValidatorAttribute.cs
- EventLogReader.cs
- PolyQuadraticBezierSegment.cs
- TableRow.cs
- SetUserPreferenceRequest.cs
- GeometryDrawing.cs
- InvokeSchedule.cs
- ReflectionUtil.cs
- XPathNavigatorKeyComparer.cs
- RootAction.cs
- VoiceInfo.cs
- PassportAuthenticationEventArgs.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- EventlogProvider.cs
- BlockExpression.cs
- TypeDelegator.cs
- WindowsListBox.cs
- ProfileService.cs
- NativeMsmqMessage.cs
- RegexFCD.cs
- EUCJPEncoding.cs
- dbenumerator.cs
- _ProxyChain.cs
- HostProtectionException.cs
- XPathDescendantIterator.cs
- XPathMessageFilterElementComparer.cs
- ModelTypeConverter.cs
- AudioLevelUpdatedEventArgs.cs
- SiteMapNodeItem.cs
- Util.cs
- dbdatarecord.cs
- EastAsianLunisolarCalendar.cs
- MailWriter.cs
- ManagementObject.cs
- ExpressionPrinter.cs
- SQLResource.cs
- FunctionQuery.cs
- DataContractSerializerServiceBehavior.cs
- XmlWhitespace.cs
- SourceCollection.cs
- WebPartUserCapability.cs
- MenuItemCollection.cs
- HtmlTableCell.cs
- OdbcFactory.cs
- GACIdentityPermission.cs
- Expression.cs
- OraclePermissionAttribute.cs
- Debugger.cs
- XamlFigureLengthSerializer.cs
- ColumnHeader.cs
- FileLevelControlBuilderAttribute.cs
- CheckedListBox.cs
- WindowsRebar.cs
- HttpCachePolicyElement.cs
- Wrapper.cs
- PageVisual.cs
- ProtocolsConfigurationEntry.cs
- ObjectDataSourceWizardForm.cs
- SoapHttpTransportImporter.cs
- MembershipSection.cs
- AbstractDataSvcMapFileLoader.cs
- ToolStripProgressBar.cs
- EntityDataSourceConfigureObjectContextPanel.cs
- ArrayList.cs
- UiaCoreApi.cs
- MissingManifestResourceException.cs
- EncryptedData.cs
- BitmapEffectCollection.cs
- XmlReader.cs
- GridViewRowPresenterBase.cs
- SqlInfoMessageEvent.cs