WebService Interface
Represents a Web service implemented by this Web site project, as represented by the .asmx file generated by Visual Studio when the Web site reference was added to the project.
Namespace: VsWebSite
Assembly: VsWebSite.Interop (in VsWebSite.Interop.dll)
Syntax
'Declaration
<GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")> _
Public Interface WebService
[GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")]
public interface WebService
[GuidAttribute(L"298682BA-70DD-40BF-95E9-4DD4293BA56D")]
public interface class WebService
[<GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")>]
type WebService = interface end
public interface WebService
The WebService type exposes the following members.
Properties
Name | Description | |
---|---|---|
AppRelativeUrl | Gets the relative path to the .asmx file from the root URL of the Web site project. | |
ClassFileItem | Gets the class file item that represents the Web service. | |
ClassName | Gets the name of the class that represents the Web service. | |
ContainingProject | Gets a reference to the project in the DTE object that contains this Web service. | |
DTE | Gets a reference to the DTE2 object that contains the project containing this Web service. | |
FileCodeModel | Gets the FileCodeModel object for the .asmx file. | |
ProjectItem | Gets the project item. | |
URL | The URL of the .asmx file for the Web service. |
Top
Remarks
An object of this class can be obtained only by using an item in the WebServices collection property of a VSWebSite object.