Click here to Skip to main content
14,739,585 members
Home » Discussions » .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: statement is not valid n a namespace Pin
Richard Deeming12-Feb-19 11:05
mveRichard Deeming12-Feb-19 11:05 
GeneralRe: statement is not valid n a namespace Pin
Member 1384753913-Feb-19 6:37
MemberMember 1384753913-Feb-19 6:37 
QuestionMocking a Service call in my Unit Tests Pin
simpledeveloper8-Feb-19 8:31
Membersimpledeveloper8-Feb-19 8:31 
AnswerRe: Mocking a Service call in my Unit Tests Pin
Gerry Schmitz8-Feb-19 11:46
mveGerry Schmitz8-Feb-19 11:46 
GeneralRe: Mocking a Service call in my Unit Tests Pin
simpledeveloper8-Feb-19 11:59
Membersimpledeveloper8-Feb-19 11:59 
GeneralRe: Mocking a Service call in my Unit Tests Pin
simpledeveloper11-Feb-19 9:29
Membersimpledeveloper11-Feb-19 9:29 
GeneralRe: Mocking a Service call in my Unit Tests Pin
Gerry Schmitz13-Feb-19 6:40
mveGerry Schmitz13-Feb-19 6:40 
QuestionNot able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
simpledeveloper4-Feb-19 13:25
Membersimpledeveloper4-Feb-19 13:25 
Hi,

I am writing some Exception handling to my class, when the Exception is thrown and message or inner exception is not giving us proper information, I have digged into the Detail property of the Exception instance, in the detail under the Nodes, the proper exception is shown in last node. Now I want to log this value, but when I am trying to get the artifacts of the Detail property of the Exception I am getting the error saying Detail is not a property of method of the object Exception.

Please help me how can I read the values of Nodes of the Exception Detail or make this as the Exception message and re-throw the exception if the message or inner-exception values are not correct. Any help would be greatly appreciated.
((System.ServiceModel.FaultException<CustomerServiceWeb.Services.ServiceAgreementUpdateSvc.ouaf.oracle.com.Fault>)ex).Detail.Nodes

AnswerRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
Dave Kreskowiak4-Feb-19 15:04
mveDave Kreskowiak4-Feb-19 15:04 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
simpledeveloper8-Feb-19 8:15
Membersimpledeveloper8-Feb-19 8:15 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
Dave Kreskowiak8-Feb-19 9:49
mveDave Kreskowiak8-Feb-19 9:49 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
simpledeveloper8-Feb-19 10:44
Membersimpledeveloper8-Feb-19 10:44 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
Pete O'Hanlon8-Feb-19 11:37
mvePete O'Hanlon8-Feb-19 11:37 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
Dave Kreskowiak8-Feb-19 11:44
mveDave Kreskowiak8-Feb-19 11:44 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
simpledeveloper8-Feb-19 11:52
Membersimpledeveloper8-Feb-19 11:52 
AnswerRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
Richard MacCutchan4-Feb-19 23:05
mveRichard MacCutchan4-Feb-19 23:05 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
simpledeveloper8-Feb-19 8:51
Membersimpledeveloper8-Feb-19 8:51 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
Richard MacCutchan8-Feb-19 23:22
mveRichard MacCutchan8-Feb-19 23:22 
GeneralRe: Not able to read the Detail property of Exception, when it is shown in the Quick Watch Pin
simpledeveloper11-Feb-19 7:59
Membersimpledeveloper11-Feb-19 7:59 
QuestionBindingSource Implementation in .net Win Forms Pin
rjto2-Jan-19 6:01
Memberrjto2-Jan-19 6:01 
AnswerRe: BindingSource Implementation in .net Win Forms Pin
Pete O'Hanlon2-Jan-19 6:27
mvePete O'Hanlon2-Jan-19 6:27 
GeneralRe: BindingSource Implementation in .net Win Forms Pin
rjto2-Jan-19 6:36
Memberrjto2-Jan-19 6:36 
GeneralRe: BindingSource Implementation in .net Win Forms Pin
mtoha16-Jan-19 17:19
professionalmtoha16-Jan-19 17:19 
GeneralRe: BindingSource Implementation in .net Win Forms Pin
Pete O'Hanlon16-Jan-19 21:59
mvePete O'Hanlon16-Jan-19 21:59 
GeneralRe: BindingSource Implementation in .net Win Forms Pin
mtoha16-Jan-19 22:02
professionalmtoha16-Jan-19 22:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.