ServiceRequestException 建構函式

定義

多載

名稱 Description
ServiceRequestException()

T:Microsoft 的建構器。SqlServer.Management.Smo.ServiceRequestException.

ServiceRequestException(String)

T:Microsoft 的建構器。SqlServer.Management.Smo.ServiceRequestException.

ServiceRequestException(String, Exception)

T:Microsoft 的建構器。SqlServer.Management.Smo.ServiceRequestException.

ServiceRequestException()

T:Microsoft 的建構器。SqlServer.Management.Smo.ServiceRequestException.

public ServiceRequestException();
Public Sub New ()

適用於

ServiceRequestException(String)

T:Microsoft 的建構器。SqlServer.Management.Smo.ServiceRequestException.

public ServiceRequestException(string message);
new Microsoft.SqlServer.Management.Smo.ServiceRequestException : string -> Microsoft.SqlServer.Management.Smo.ServiceRequestException
Public Sub New (message As String)

參數

message
String

例外訊息以字串形式呈現。

適用於

ServiceRequestException(String, Exception)

T:Microsoft 的建構器。SqlServer.Management.Smo.ServiceRequestException.

public ServiceRequestException(string message, Exception innerException);
new Microsoft.SqlServer.Management.Smo.ServiceRequestException : string * Exception -> Microsoft.SqlServer.Management.Smo.ServiceRequestException
Public Sub New (message As String, innerException As Exception)

參數

message
String

例外的訊息。

innerException
Exception

就是造成目前例外的 T:System.Exception 實例。

適用於