L'attributo 'WebMethod' non avrà alcun effetto su questo membro perché la classe che lo contiene non è esposta come servizio Web

Aggiornamento: novembre 2007

'WebMethod' attribute will not affect this member because its containing class is not exposed as a web service

L'attributo WebMethodAttribute consente a un metodo di essere chiamato dai client Web remoti, ma solo quando la classe del metodo deriva da WebService.

ID errore: BC30771

Per correggere l'errore

Vedere anche

Attività

Procedura dettagliata: creazione di un servizio Web mediante Visual Basic o Visual C#