Error Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Error() |
Initializes a new instance of Error. |
Error(String, String, InnerHttpError) |
Initializes a new instance of Error. |
Initializes a new instance of Error.
C#
public Error();
Public Sub New ()
Applies to
Microsoft 365 Agents SDK .NET 1
Product | Versions |
---|---|
Microsoft 365 Agents SDK .NET | 1 |
Initializes a new instance of Error.
C#
public Error(string code = default, string message = default, Microsoft.Agents.Protocols.Primitives.InnerHttpError innerHttpError = default);
new Microsoft.Agents.Protocols.Primitives.Error : string * string * Microsoft.Agents.Protocols.Primitives.InnerHttpError -> Microsoft.Agents.Protocols.Primitives.Error
Public Sub New (Optional code As String = Nothing, Optional message As String = Nothing, Optional innerHttpError As InnerHttpError = Nothing)
Parameters
- code
- String
Error code.
- message
- String
Error message.
- innerHttpError
- InnerHttpError
Object representing inner http error.
Applies to
Microsoft 365 Agents SDK .NET 1
Product | Versions |
---|---|
Microsoft 365 Agents SDK .NET | 1 |