ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









WebServicedisposable

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

When creating a web service, you can inherit from this class to gain
access to the built-in ASP.NET objects Application
(the current System.Web.HttpApplicationState
collection), Server, Session,
User, and Context (which
provides access to the built-in Request and
Response objects). If you don't
need to access these objects (or if you choose to go through the
Context property) you don't need
to derive your web service from this class.

When creating a web service class, all web methods must be marked
with the WebMethodAttribute. To configure
additional activities, you should also add the
WebServiceAttribute to the class declaration.

public class 

WebService : System.ComponentModel.MarshalByValueComponent {
// Public Constructors
public

WebService ( );
// Public Instance Properties
public HttpApplicationState

Application {get; }
public HttpContext

Context {get; }
public HttpServerUtility

Server {get; }
public HttpSessionState

Session {get; }
public IPrincipal

User {get; }
}



Hierarchy


System.Object
System.ComponentModel.MarshalByValueComponent(System.ComponentModel.IComponent,
System.IDisposable
,
System.IServiceProvider)

WebService


/ 873