Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / MetadataConversionError.cs / 1 / MetadataConversionError.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Description { using System.Collections.ObjectModel; using System.ServiceModel.Channels; public class MetadataConversionError { string message; bool isWarning; public MetadataConversionError(string message): this(message, false) { } public MetadataConversionError(string message, bool isWarning) { if(message == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("message"); this.message = message; this.isWarning = isWarning; } public string Message { get { return message; } } public bool IsWarning { get { return isWarning; } } public override bool Equals(object obj) { MetadataConversionError otherError = obj as MetadataConversionError; if (otherError == null) return false; return otherError.IsWarning == this.IsWarning && otherError.Message == this.Message; } public override int GetHashCode() { return message.GetHashCode(); } } } // 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
- Triplet.cs
- SecurityDescriptor.cs
- PointCollectionValueSerializer.cs
- OdbcUtils.cs
- StartUpEventArgs.cs
- SelectionProcessor.cs
- IntSecurity.cs
- CloudCollection.cs
- MarshalByValueComponent.cs
- AmbiguousMatchException.cs
- ReverseInheritProperty.cs
- ImageDrawing.cs
- SimpleHandlerFactory.cs
- Matrix3D.cs
- ParameterElement.cs
- CustomValidator.cs
- embossbitmapeffect.cs
- CodeSnippetCompileUnit.cs
- TreeIterator.cs
- SubpageParagraph.cs
- MDIControlStrip.cs
- CodeMemberEvent.cs
- EventManager.cs
- TrackPoint.cs
- NavigationProperty.cs
- SQLStringStorage.cs
- GenericPrincipal.cs
- XamlSerializerUtil.cs
- ReadWriteSpinLock.cs
- SoapMessage.cs
- TemplateBindingExtension.cs
- _NtlmClient.cs
- ObjectItemCollection.cs
- Directory.cs
- ClientBase.cs
- XPathSelectionIterator.cs
- SafeRegistryHandle.cs
- dtdvalidator.cs
- AndCondition.cs
- EnumerableWrapperWeakToStrong.cs
- ProtocolsInstallComponent.cs
- SafeNativeMethodsCLR.cs
- FlatButtonAppearance.cs
- WizardForm.cs
- SoapIncludeAttribute.cs
- SoapTransportImporter.cs
- HMACSHA512.cs
- TextTreeUndoUnit.cs
- XPathPatternParser.cs
- DirectoryInfo.cs
- EnumMember.cs
- AspNetHostingPermission.cs
- ObjectQueryProvider.cs
- MonitorWrapper.cs
- CheckBoxField.cs
- EntityProviderServices.cs
- MenuTracker.cs
- Privilege.cs
- BoundPropertyEntry.cs
- webproxy.cs
- GroupBox.cs
- UnmanagedMemoryStream.cs
- XPathDocumentIterator.cs
- ActivityUtilities.cs
- NetStream.cs
- SettingsSavedEventArgs.cs
- IntMinMaxAggregationOperator.cs
- StrongNamePublicKeyBlob.cs
- RuntimeIdentifierPropertyAttribute.cs
- SplitContainer.cs
- FieldToken.cs
- CodeTypeReferenceSerializer.cs
- RestHandler.cs
- webeventbuffer.cs
- TagPrefixAttribute.cs
- PageBreakRecord.cs
- XmlWhitespace.cs
- SchemaType.cs
- DockPanel.cs
- MemberInfoSerializationHolder.cs
- DataSvcMapFileSerializer.cs
- TableCell.cs
- CodeConditionStatement.cs
- Mapping.cs
- MobileControl.cs
- Cursor.cs
- ExceptionAggregator.cs
- _ListenerResponseStream.cs
- CriticalHandle.cs
- AuthenticationService.cs
- HwndKeyboardInputProvider.cs
- HttpRuntime.cs
- SqlXmlStorage.cs
- ObjectQuery_EntitySqlExtensions.cs
- ListControlBuilder.cs
- ProxyHelper.cs
- ClientSettings.cs
- Monitor.cs
- SimpleHandlerFactory.cs
- _StreamFramer.cs