From c7404f5da8ebfe97b2f75284a3ee41d56d0ccd23 Mon Sep 17 00:00:00 2001 From: "Kasper F. Brandt" Date: Mon, 14 Aug 2017 15:58:20 +0200 Subject: [PATCH] Make ServiceResponse.ThrowIfNecessary public as it is quite useful for uniform error handling in consumers of the library. --- Core/Responses/ServiceResponse.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Responses/ServiceResponse.cs b/Core/Responses/ServiceResponse.cs index 9a083c7f..15ae4c61 100644 --- a/Core/Responses/ServiceResponse.cs +++ b/Core/Responses/ServiceResponse.cs @@ -247,7 +247,7 @@ internal virtual bool LoadExtraErrorDetailsFromXml(EwsServiceXmlReader reader, s /// /// Throws a ServiceResponseException if this response has its Result property set to Error. /// - internal void ThrowIfNecessary() + public void ThrowIfNecessary() { this.InternalThrowIfNecessary(); }