ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources]

G. andrew Duthie; matthew Macdonald

نسخه متنی -صفحه : 873/ 322
نمايش فراداده

DiscoveryClientResult

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

This class represents some of the details in a discovery document reference. It''s used in conjunction with the DiscoveryClientProtocol.WriteAll( ) method, which writes the references from multiple discovery documents to disk in one batch operation, and summarizes the results with a collection of DiscoveryClientResult objects. You can use the Filename property to determine the file that the corresponding discovery reference is saved in.

public sealed class 

DiscoveryClientResult { // Public Constructors public

DiscoveryClientResult ( ); public

DiscoveryClientResult (Type

referenceType , string

url , string

filename ); // Public Instance Properties public string

Filename {set; get; } public string

ReferenceTypeName {set; get; } public string

Url {set; get; } }

Returned By

DiscoveryClientResultCollection.this

Passed To

DiscoveryClientResultCollection.{Add( ), Contains( ), Remove( ), this}