ServiceNotFoundException 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当找不到服务时会被抛出的例外。
public ref class ServiceNotFoundException : Exception
public class ServiceNotFoundException : Exception
type ServiceNotFoundException = class
inherit Exception
Public Class ServiceNotFoundException
Inherits Exception
- 继承
-
ServiceNotFoundException
构造函数
| 名称 | 说明 |
|---|---|
| ServiceNotFoundException(Type) |
初始化一个带有指定服务类型的类的新实例 ServiceNotFoundException 。 |
属性
| 名称 | 说明 |
|---|---|
| ServiceType |
获取服务的类型。 |