Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Specifies settings used by the Windows Communication Foundation (WCF) directives in the .svc files to direct the compilers. Each directive can contain one or more attributes (paired with values) that are specific to that directive. WCF has only the @ServiceHost directive.
In This Section
@ServiceHost
Defines page-specific attributes used by the .svc compiler. Can be included only in .svc files.
Related Sections
How to: Host a WCF Service in IIS
Describes how the @ServiceHost directive is used when hosting a service in Internet Information Services (IIS)
How to: Host a WCF Service in WAS
Describes how the @ServiceHost directive is used when hosting a service in Windows Process Activation Service (WAS)