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
- RegistryConfigurationProvider.cs
- HatchBrush.cs
- CacheMemory.cs
- shaperfactoryquerycacheentry.cs
- PropertyCondition.cs
- FixedSOMLineCollection.cs
- NonClientArea.cs
- CheckBoxAutomationPeer.cs
- ElapsedEventArgs.cs
- Form.cs
- PermissionRequestEvidence.cs
- AddressHeader.cs
- ByteAnimation.cs
- FrameworkTemplate.cs
- MouseActionValueSerializer.cs
- XmlChildNodes.cs
- SessionEndingCancelEventArgs.cs
- CryptoProvider.cs
- AssemblyAssociatedContentFileAttribute.cs
- MultipleViewProviderWrapper.cs
- ClientUIRequest.cs
- DbModificationCommandTree.cs
- _SSPISessionCache.cs
- ClaimTypes.cs
- DesignTimeTemplateParser.cs
- XmlWriterSettings.cs
- EntityKey.cs
- WebServiceEnumData.cs
- AutomationElementIdentifiers.cs
- AspNetPartialTrustHelpers.cs
- InstanceDataCollectionCollection.cs
- Size3DConverter.cs
- JapaneseLunisolarCalendar.cs
- TextEditorCharacters.cs
- ViewgenContext.cs
- DisplayMemberTemplateSelector.cs
- PerformanceCounters.cs
- CodeAttributeDeclarationCollection.cs
- WinEventWrap.cs
- ColorContextHelper.cs
- NativeWindow.cs
- ProvidePropertyAttribute.cs
- ChangeNode.cs
- StaticContext.cs
- DataGridViewLayoutData.cs
- TypeInitializationException.cs
- ControlOperationInvoker.cs
- XmlExtensionFunction.cs
- URLString.cs
- MetadataItem.cs
- BufferModeSettings.cs
- DiscoveryClient.cs
- EncodingStreamWrapper.cs
- XmlSchemaAppInfo.cs
- FlagPanel.cs
- TreeNodeStyleCollection.cs
- PersonalizationStateQuery.cs
- QueryAsyncResult.cs
- log.cs
- DesignerActionUIService.cs
- BasePattern.cs
- NopReturnReader.cs
- ApplicationManager.cs
- MLangCodePageEncoding.cs
- StringPropertyBuilder.cs
- ActivityXRefConverter.cs
- DesignerLoader.cs
- ObjectQueryProvider.cs
- FixUp.cs
- RecognitionResult.cs
- RuleProcessor.cs
- DesignerEditorPartChrome.cs
- ObjectDataSourceFilteringEventArgs.cs
- LayoutEngine.cs
- DesignerMetadata.cs
- ScrollPatternIdentifiers.cs
- ToolStripSplitStackLayout.cs
- CookieHandler.cs
- WebPartAuthorizationEventArgs.cs
- DelegateTypeInfo.cs
- HasCopySemanticsAttribute.cs
- GeneralTransformCollection.cs
- LocalBuilder.cs
- ConnectionManagementSection.cs
- IntersectQueryOperator.cs
- ConstraintEnumerator.cs
- StylusEventArgs.cs
- EventDescriptorCollection.cs
- WebPartConnectionCollection.cs
- DynamicMethod.cs
- Receive.cs
- PermissionToken.cs
- SelectQueryOperator.cs
- SqlClientPermission.cs
- BufferedReadStream.cs
- XmlAttributes.cs
- WindowsListViewItem.cs
- RunInstallerAttribute.cs
- Symbol.cs
- XamlFrame.cs