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
- CheckBoxAutomationPeer.cs
- DelayedRegex.cs
- Choices.cs
- Thread.cs
- InProcStateClientManager.cs
- XslAst.cs
- DATA_BLOB.cs
- InvalidDataException.cs
- WindowsGraphics.cs
- EventQueueState.cs
- XmlText.cs
- PeerFlooder.cs
- NativeMethods.cs
- ConfigurationSchemaErrors.cs
- AttributeUsageAttribute.cs
- DecoderReplacementFallback.cs
- ProcessMonitor.cs
- RegexMatch.cs
- LexicalChunk.cs
- StyleSheetDesigner.cs
- WindowsIdentity.cs
- CustomPopupPlacement.cs
- CacheChildrenQuery.cs
- QueryStringParameter.cs
- Int16Converter.cs
- CodeMemberField.cs
- ViewGenerator.cs
- ModelToObjectValueConverter.cs
- EventHandlerList.cs
- OleDbFactory.cs
- ClonableStack.cs
- ObjectIDGenerator.cs
- PropertyPathWorker.cs
- Matrix3D.cs
- COAUTHIDENTITY.cs
- DataTableClearEvent.cs
- IIS7WorkerRequest.cs
- Cloud.cs
- BooleanProjectedSlot.cs
- FontDifferentiator.cs
- OleDbRowUpdatingEvent.cs
- FormsAuthenticationUser.cs
- HttpServerProtocol.cs
- InternalSendMessage.cs
- NominalTypeEliminator.cs
- ResourceDescriptionAttribute.cs
- ConnectionManagementElement.cs
- DesignerActionPropertyItem.cs
- FullTextLine.cs
- ThreadInterruptedException.cs
- EventMappingSettingsCollection.cs
- ToolTipAutomationPeer.cs
- XPathAxisIterator.cs
- ServiceHttpHandlerFactory.cs
- Menu.cs
- ItemsPanelTemplate.cs
- SecurityTokenSerializer.cs
- HijriCalendar.cs
- RoutedEventHandlerInfo.cs
- LogFlushAsyncResult.cs
- UrlPath.cs
- Application.cs
- securestring.cs
- Rijndael.cs
- DesignerProperties.cs
- MenuItem.cs
- ProfileEventArgs.cs
- DispatchWrapper.cs
- ListViewItemEventArgs.cs
- Visitors.cs
- WebEventTraceProvider.cs
- Debug.cs
- WebPartConnectionsConnectVerb.cs
- PeerApplication.cs
- SiteMapNode.cs
- ControlAdapter.cs
- CodeTypeMember.cs
- StorageBasedPackageProperties.cs
- _ListenerResponseStream.cs
- HttpDigestClientElement.cs
- CreateDataSourceDialog.cs
- AutoResizedEvent.cs
- ConditionalAttribute.cs
- PageCodeDomTreeGenerator.cs
- XmlSchemaSimpleTypeUnion.cs
- UInt16.cs
- LocationSectionRecord.cs
- ApplyImportsAction.cs
- WinFormsSpinner.cs
- ParallelRangeManager.cs
- LocationSectionRecord.cs
- GlyphManager.cs
- BinaryUtilClasses.cs
- DataList.cs
- GCHandleCookieTable.cs
- ConnectionStringsExpressionBuilder.cs
- ContextQuery.cs
- UnsafeNativeMethods.cs
- _AcceptOverlappedAsyncResult.cs
- TextBounds.cs