C # in a Nutshell, Second Edition

ServerFault serializable

System.Runtime.Serialization.Formatters (mscorlib.dll) sealed class

This class represents an error that was thrown from a remote server to the client. It is placed in the Detail section of a SoapFault object.

public sealed class ServerFault { // Public Constructors public ServerFault (string exceptionType , string message , string stackTrace ); // Public Instance Properties public string ExceptionMessage {set; get; } public string ExceptionType {set; get; } public string StackTrace {set; get; } }

Passed To

SoapFault.SoapFault( )

Категории