NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Exception.Source

Retrieves or assigns a string containing the name of the application or the object that has generated the error.

[Visual Basic]
Overridable Public Property Source As String
[C#]
public string Source {virtual get; virtual set;}
[C++]
public: __property virtual String* get_Source();
public: __property virtual void set_Source(String*);
[JScript]
public function get Source() : String;
public function set Source(String);

Property Value

A String containing the name of the application or the object that has generated the error.

Remarks

The Source method returns the source and assigns a string value to the error that has occurred, such as the application name.

See Also

Exception Class | Exception Members | System Namespace