什么异常被抛出时,DirectorySearcher.FindOne()被调用,AD不可用? [英] What exception is thrown when DirectorySearcher.FindOne() is called and AD is unavailable?

查看:671
本文介绍了什么异常被抛出时,DirectorySearcher.FindOne()被调用,AD不可用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有抛出一个异常(若然),空回,空数据表中返回?

Is there an exception thrown (if so what), null returned, empty data table returned?

推荐答案

唯一的例外是System.Runtime.InteropServices.COMException。该消息将是服务器是不可操作。

The exception is System.Runtime.InteropServices.COMException. The message will be "The server is not operational."

这篇关于什么异常被抛出时,DirectorySearcher.FindOne()被调用,AD不可用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆