Show / Hide Table of Contents

Class UofxService.Error

api 的異常處理

Inheritance
System.Object
UofxService.Error
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Ede.Uofx.PubApi.Sdk.NetStd.Service
Assembly: Ede.Uofx.PubApi.Sdk.NetStd.dll
Syntax
public static class Error

Methods

View Source

ConvertToModel(AggregateException)

轉換 api 的 AggregateException 為 ExceptionModel

Declaration
public static List<ExceptionModel> ConvertToModel(AggregateException ae)
Parameters
Type Name Description
System.AggregateException ae
Returns
Type Description
System.Collections.Generic.List<ExceptionModel>
View Source

ConvertToModel(Exception)

轉換 api 的 Exception 為 ExceptionModel

Declaration
public static ExceptionModel ConvertToModel(Exception e)
Parameters
Type Name Description
System.Exception e
Returns
Type Description
ExceptionModel
  • View Source
In This Article
Back to top Generated by DocFX