语言

ServiceNotFoundException 类

定义

当找不到服务时会被抛出的例外。

public ref class ServiceNotFoundException : Exception
public class ServiceNotFoundException : Exception
type ServiceNotFoundException = class
    inherit Exception
Public Class ServiceNotFoundException
Inherits Exception
继承
ServiceNotFoundException

构造函数

名称 说明
ServiceNotFoundException(Type)

初始化一个带有指定服务类型的类的新实例 ServiceNotFoundException 。

属性

名称 说明
ServiceType

获取服务的类型。

适用于