TAILIEUCHUNG - Building XML Web Services for the Microsoft .NET Platform phần 9

Thuộc tính objectUri quy định cụ thể URI nơi đối tượng có thể được truy cập. Trong trường hợp của Web cấp phép Bạn có thể cấu hình bộ nhớ cache bằng cách sử dụng tài sản CacheDuration tiếp xúc với các thuộc tính WebMethod. | Implementation. catch SystemException se Causes the stack to unwind to this method call throw se catch ApplicationException ae The recipient of the exception will have a full stack trace. throw Your application might use code to which you do not have the source that improperly throws an exception. To facilitate obtaining a full stack trace you can configure Visual Studio .NET to catch first-chance exceptions. Choose Debug Exceptions to open the Exceptions dialog box. Click Common Language Runtime Exceptions and then select the Break Into The Debugger option in the When The Exception Is Thrown section as shown here Information the Debugger Needs The debugger needs certain information in order to perform tasks such as setting breakpoints and displaying the call stack. This information comes from three primary sources the metadata contained within the assembly the program database and the JIT compiler tracking information. In this section I explain what types of information the debugger needs and how it uses the information. I also explain how to ensure that the information is available for debugging a Web service. Finally I offer recommendations for creating release and debug builds for Web service projects. The goal for release builds is to create the information that the debugger needs in order to effectively diagnose problems that might emerge in the production environment. 306 Assembly Metadata From the .NET assembly s metadata the debugger needs information about the types defined within the assembly. The debugger uses this information to display the friendly name of types the methods they expose and the names of instances of types and to populate the call stack local watch windows and so on. This metadata is always contained within a .NET assembly so the debugger will always have enough information to display a call stack composed of friendly names. Program Database Some debugging features require more information than what is provided by the metadata .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.