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
- MissingMethodException.cs
- FloatMinMaxAggregationOperator.cs
- MemberCollection.cs
- NumberSubstitution.cs
- VisualTreeUtils.cs
- ServerValidateEventArgs.cs
- DATA_BLOB.cs
- ResourceSet.cs
- XmlDataContract.cs
- SQLUtility.cs
- NTAccount.cs
- ByteAnimationBase.cs
- SystemIcmpV4Statistics.cs
- MergePropertyDescriptor.cs
- XAMLParseException.cs
- ObservableDictionary.cs
- RegionInfo.cs
- Int32Converter.cs
- ProviderUtil.cs
- EnumConverter.cs
- SizeConverter.cs
- securitycriticaldata.cs
- PrtCap_Public_Simple.cs
- Section.cs
- NoPersistHandle.cs
- TagMapInfo.cs
- InplaceBitmapMetadataWriter.cs
- SQLSingleStorage.cs
- IndexedDataBuffer.cs
- SingleAnimationBase.cs
- ContentDisposition.cs
- AudioSignalProblemOccurredEventArgs.cs
- linebase.cs
- FlowThrottle.cs
- Operators.cs
- NativeMethods.cs
- TrackingRecord.cs
- LinkButton.cs
- SplayTreeNode.cs
- Brush.cs
- ArgumentReference.cs
- CollectionDataContract.cs
- ConfigXmlText.cs
- Timer.cs
- XmlObjectSerializerWriteContext.cs
- MarshalDirectiveException.cs
- XmlNodeReader.cs
- ExpressionBuilder.cs
- Main.cs
- QilExpression.cs
- NopReturnReader.cs
- MethodExpr.cs
- QilGenerator.cs
- ConnectionProviderAttribute.cs
- XmlTextReader.cs
- ProfilePropertyNameValidator.cs
- EncodingInfo.cs
- RelationshipConstraintValidator.cs
- Header.cs
- ThreadStaticAttribute.cs
- COM2ExtendedUITypeEditor.cs
- PtsCache.cs
- QueueProcessor.cs
- HandleCollector.cs
- MediaElementAutomationPeer.cs
- EncoderParameter.cs
- LocalizationParserHooks.cs
- DataRecord.cs
- FileRecordSequenceHelper.cs
- Table.cs
- ToolStripRendererSwitcher.cs
- DataControlFieldTypeEditor.cs
- Size.cs
- WindowsPen.cs
- SupportsEventValidationAttribute.cs
- FixedBufferAttribute.cs
- panel.cs
- SHA1.cs
- PerfCounters.cs
- UnsafeMethods.cs
- ServiceHttpHandlerFactory.cs
- FixedSOMElement.cs
- PrinterResolution.cs
- listitem.cs
- XmlSchemaParticle.cs
- StandardMenuStripVerb.cs
- Mutex.cs
- DispatcherExceptionFilterEventArgs.cs
- SqlRowUpdatingEvent.cs
- CompilerLocalReference.cs
- XmlWriterSettings.cs
- WindowsFormsSectionHandler.cs
- ManagementException.cs
- XmlComment.cs
- ListViewDataItem.cs
- ScaleTransform.cs
- BinaryOperationBinder.cs
- DrawingBrush.cs
- XmlILOptimizerVisitor.cs
- UpDownBase.cs