Share via


CannotConnectException 类 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Represents an exception that is thrown when the Business Data Catalog cannot successfully make a connection to the back-end business application.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
<SerializableAttribute> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel:=True)> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public Class CannotConnectException
    Inherits RuntimeException
用法
Dim instance As CannotConnectException
[SerializableAttribute] 
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel=true)] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public class CannotConnectException : RuntimeException

备注

If you get this exception, check the connection parameters and ensure you can successfully connect to the back-end application.

继承层次结构

System.Object
   System.Exception
     Microsoft.Office.Server.ApplicationRegistry.Runtime.RuntimeException
      Microsoft.Office.Server.ApplicationRegistry.Runtime.CannotConnectException

线程安全性

此类型的任何公共静态( Visual Basic 中共享)成员是线程安全的。不保证任何实例成员都是线程安全的。

另请参阅

参考

CannotConnectException 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间