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

[GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")]
public interface WebService
[GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")]
public interface class WebService
[<GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")>]
type WebService = interface end
<GuidAttribute("298682BA-70DD-40BF-95E9-4DD4293BA56D")>
Public Interface WebService

Properties

Name Description
System_CAPS_pubproperty AppRelativeUrl

Gets the relative path to the .asmx file from the root URL of the Web site project.

System_CAPS_pubproperty ClassFileItem

Gets the class file item that represents the Web service.

System_CAPS_pubproperty ClassName

Gets the name of the class that represents the Web service.

System_CAPS_pubproperty ContainingProject

Gets a reference to the project in the DTE object that contains this Web service.

System_CAPS_pubproperty DTE

Gets a reference to the DTE2 object that contains the project containing this Web service.

System_CAPS_pubproperty FileCodeModel

Gets the FileCodeModel object for the .asmx file.

System_CAPS_pubproperty ProjectItem

Gets the project item.

System_CAPS_pubproperty URL

The URL of the .asmx file for the Web service.

Remarks

An object of this class can be obtained only by using an item in the WebServices collection property of a VSWebSite object.

See Also

VSWebSite
WebServices
DTE2
VsWebSite Namespace
Referencing Automation Assemblies and the DTE2 Object

Return to top