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

获取服务的类型。

适用于