This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy



Download 21,46 Mb.
Pdf ko'rish
bet454/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   450   451   452   453   454   455   456   457   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition



Note

The 


Exception

class implements two .NET interfaces. Although we have yet to examine interfaces

(see Chapter 9), simply understand that the 

_Exception

interface allows a .NET exception to be processed by an

unmanaged code base (such as a COM application), while the 

ISerializable

interface allows an exception

object to be persisted across boundaries (such as a machine boundary).

Table 7-1 describes the details of some (but not all) of the members of System.Exception.



Table 7-1.

Core Members of the System.Exception Type

System.Exception Property

Meaning in Life

Data


This property retrieves a collection of key/value pairs (represented

by an object implementing IDictionary) that provides additional,

programmer-defined information about the exception. By default,

this collection is empty (e.g., null).

HelpLink

This property returns a URL to a help file or website describing the

error in full detail.

InnerException

This read-only property can be used to obtain information about

the previous exception(s) that caused the current exception to

occur. The previous exception(s) are recorded by passing them

into the constructor of the most current exception.

Message

This read-only property returns the textual description of a given

error. The error message itself is set as a constructor parameter.

Source


This property returns the name of the assembly that threw the

exception.

StackTrace

This read-only property contains a string that identifies the

sequence of calls that triggered the exception. As you might guess,

this property is very useful during debugging or if you wish to dump

the error to an external error log.

TargetSite

This read-only property returns a MethodBase type, which describes

numerous details about the method that threw the exception

(invoking ToString() will identify the method by name).


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   450   451   452   453   454   455   456   457   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish