DekGenius.com
[ Team LiB ] Previous Section Next Section

ServiceDescriptionImportStyleserializable

System.Web.Services.Description (system.web.services.dll)enum

This enumeration is used for the ServiceDescriptionImporter.Style property; it specifies whether a ServiceDescriptionImporter.Import( ) method call will be made to the server or client. When you import to the client computer, you will receive a proxy class with synchronous and asynchronous methods for invoking each method within the web service, just as if .NET generated the proxy class for you automatically. A server import, however, will generate an abstract class with abstract members, which you must override to provide the appropriate implementation.

public enum ServiceDescriptionImportStyle {
   Client = 0,
   Server = 1
}

Hierarchy

System.Object System.ValueType System.Enum(System.IComparable, System.IFormattable, System.IConvertible) ServiceDescriptionImportStyle

Returned By

ProtocolImporter.Style, ServiceDescriptionImporter.Style

Passed To

ServiceDescriptionImporter.Style

    [ Team LiB ] Previous Section Next Section