Share via


WebService Interface

Definition

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.

public interface class WebService
[System.Runtime.InteropServices.Guid("298682BA-70DD-40BF-95E9-4DD4293BA56D")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface WebService
[<System.Runtime.InteropServices.Guid("298682BA-70DD-40BF-95E9-4DD4293BA56D")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type WebService = interface
Public Interface WebService
Attributes

Properties

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.

Applies to