Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / Version11 / ResolveCriteria11.cs / 1305376 / ResolveCriteria11.cs
//---------------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //--------------------------------------------------------------- namespace System.ServiceModel.Discovery.Version11 { using System.Runtime; using System.Xml; using System.Xml.Schema; using System.Xml.Serialization; [XmlSchemaProvider("GetSchema")] [Fx.Tag.XamlVisible(false)] public class ResolveCriteria11 : IXmlSerializable { ResolveCriteria resolveCriteria; ResolveCriteria11() { this.resolveCriteria = new ResolveCriteria(); } ResolveCriteria11(ResolveCriteria resolveCriteria) { this.resolveCriteria = resolveCriteria; } public static ResolveCriteria11 FromResolveCriteria(ResolveCriteria resolveCriteria) { if (resolveCriteria == null) { throw FxTrace.Exception.ArgumentNull("resolveCriteria"); } return new ResolveCriteria11(resolveCriteria); } public static XmlQualifiedName GetSchema(XmlSchemaSet schemaSet) { if (schemaSet == null) { throw FxTrace.Exception.ArgumentNull("schemaSet"); } return SchemaUtility.EnsureResolveSchema(DiscoveryVersion.WSDiscovery11, schemaSet); } public ResolveCriteria ToResolveCriteria() { return this.resolveCriteria; } public XmlSchema GetSchema() { return null; } [Fx.Tag.InheritThrows(From = "ReadFrom", FromDeclaringType = typeof(ResolveCriteria))] public void ReadXml(XmlReader reader) { this.resolveCriteria.ReadFrom(DiscoveryVersion.WSDiscovery11, reader); } public void WriteXml(XmlWriter writer) { this.resolveCriteria.WriteTo(DiscoveryVersion.WSDiscovery11, writer); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EditModeSwitchButton.cs
- IMembershipProvider.cs
- AttachedAnnotation.cs
- DataControlField.cs
- EventEntry.cs
- SystemIPGlobalStatistics.cs
- WpfGeneratedKnownProperties.cs
- FontWeight.cs
- VariantWrapper.cs
- ContainerVisual.cs
- DataGridViewAccessibleObject.cs
- ScriptRegistrationManager.cs
- SplayTreeNode.cs
- ExtractedStateEntry.cs
- LinqDataSourceValidationException.cs
- FrameworkContentElement.cs
- Rotation3DAnimationBase.cs
- PerformanceCounterLib.cs
- SecurityIdentifierConverter.cs
- BezierSegment.cs
- CharacterShapingProperties.cs
- RoutedEventConverter.cs
- OleDbSchemaGuid.cs
- ProfileGroupSettingsCollection.cs
- HtmlDocument.cs
- DesignerEventService.cs
- TdsEnums.cs
- FrameworkContentElement.cs
- CLSCompliantAttribute.cs
- StickyNoteHelper.cs
- Image.cs
- ProfileEventArgs.cs
- KeyInfo.cs
- TableLayoutStyleCollection.cs
- TraceHelpers.cs
- StaticDataManager.cs
- ContentPlaceHolder.cs
- MimeFormatExtensions.cs
- GlyphRun.cs
- CompModSwitches.cs
- Type.cs
- SqlNotificationRequest.cs
- IdnElement.cs
- TransportBindingElement.cs
- SiteMapDesignerDataSourceView.cs
- TreeViewHitTestInfo.cs
- IndexOutOfRangeException.cs
- WeakReferenceList.cs
- FillRuleValidation.cs
- JapaneseCalendar.cs
- PolicyManager.cs
- RoleProviderPrincipal.cs
- DataStorage.cs
- RequestCachePolicyConverter.cs
- ArgumentNullException.cs
- Timeline.cs
- MatrixTransform3D.cs
- CompleteWizardStep.cs
- WindowsUserNameCachingSecurityTokenAuthenticator.cs
- ObjectDataSourceSelectingEventArgs.cs
- AutoGeneratedFieldProperties.cs
- MimeObjectFactory.cs
- RTLAwareMessageBox.cs
- TypeConverter.cs
- Blend.cs
- EmbeddedObject.cs
- ProcessModelSection.cs
- SemaphoreSecurity.cs
- EtwTrace.cs
- CodeDomExtensionMethods.cs
- WrappedReader.cs
- DrawingGroup.cs
- TimeStampChecker.cs
- DragDropManager.cs
- StylusPointCollection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- TextEndOfParagraph.cs
- CodeComment.cs
- XamlGridLengthSerializer.cs
- ConfigurationFileMap.cs
- RSAOAEPKeyExchangeDeformatter.cs
- WindowsListViewItemCheckBox.cs
- TimeZone.cs
- TextRange.cs
- _DomainName.cs
- NumericExpr.cs
- columnmapfactory.cs
- VirtualPath.cs
- RequestCachePolicy.cs
- XmlNamespaceManager.cs
- UTF7Encoding.cs
- SqlExpressionNullability.cs
- SQLBoolean.cs
- ReadOnlyHierarchicalDataSourceView.cs
- HealthMonitoringSectionHelper.cs
- SerializationException.cs
- SimpleHandlerBuildProvider.cs
- QilVisitor.cs
- CodeVariableDeclarationStatement.cs
- ZoneLinkButton.cs