ServiceNotFoundException 构造函数 (String, Exception)
初始化使用指定的错误消息和对导致此异常的内部异常的引用ServiceNotFoundException类的一个新实例。
命名空间: Microsoft.Office.Server.Search.Analytics
程序集: Microsoft.Office.Server.Search(位于 Microsoft.Office.Server.Search.dll 中)
语法
声明
Public Sub New ( _
msg As String, _
inner As Exception _
)
用法
Dim msg As String
Dim inner As Exception
Dim instance As New ServiceNotFoundException(msg, inner)
public ServiceNotFoundException(
string msg,
Exception inner
)
参数
msg
类型:System.String一个**[System.String]**对象,其中包含的错误消息。
inner
类型:System.Exception一个**[System.Exception]**对象,它包含的内部异常。