Main Page

  Previous Section Next Section


System.Web.Services.Discovery (system.web.services.dll)sealed class

This class represents a discovery document reference to an XML Schema Definition (XSD) document. This is the least common type of reference in a discovery document. The Ref property provides a string with the XSD file's URL. The Schema property returns a full System.Xml.Schema.XmlSchema object that represents the XSD document.

public sealed class SchemaReference : DiscoveryReference {
// Public Constructors
   public SchemaReference( );
   public SchemaReference(string url);
// Public Static Fields
   public const string Namespace;                   // =http://schemas.xmlsoap.org/disco/schema/
// Public Instance Properties
   public override string DefaultFilename{get; }                 // overrides DiscoveryReference
   public string Ref{set; get; }
   public XmlSchema Schema{get; }
   public string TargetNamespace{set; get; }
   public override string Url{set; get; }           // overrides DiscoveryReference
// Public Instance Methods
   public override object ReadDocument(System.IO.Stream stream); // overrides DiscoveryReference
   public override void WriteDocument(object document, System.IO.Stream stream); // overrides DiscoveryReference
// Protected Instance Methods
   protected internal override void Resolve(string contentType, 
        System.IO.Stream stream);  // overrides DiscoveryReference


System.Object DiscoveryReference SchemaReference

      Previous Section Next Section