No announcements
Found 3774109 threads
-
0 Votes
NullReferenceException when calling GetProperty on an empty HtmlDocument?
InnerText on the document object returns null when there is no content.Answered | 2 Replies | 2777 Views | Created by John_Wolf - Monday, December 5, 2011 7:24 PM | Last reply by John_Wolf - Friday, January 6, 2012 4:44 PM -
0 Votes
Orchestration call using Reflection
When to use it: - In the project is a need for Reusable Components, SOA & Agile - The business processes in BizTalk can ...Answered | 14 Replies | 996 Views | Created by Vinícius Corrêa - Sunday, January 19, 2014 7:39 PM | Last reply by Johns-305 - Wednesday, January 22, 2014 2:07 PM -
4 Votes
How to execute test methods programmatically using C# (may be using reflection)?
Here is the complete code that i am using for executing the test method (in unit test project) through reflection.Answered | 13 Replies | 12877 Views | Created by Pratap15 - Wednesday, November 1, 2017 2:44 AM | Last reply by SuhasK1 - Friday, July 5, 2019 1:04 AM -
0 Votes
Invoke a method in a module using Reflection in VB.NET
The following example demonstrates dynamic method lookup using reflection.Answered | 1 Replies | 12536 Views | Created by Baburajpv - Wednesday, November 25, 2009 6:46 AM | Last reply by Jai Mallesh Babu - Wednesday, November 25, 2009 7:46 AM -
0 Votes
using reflection to call WCF Service Method with reference parameter
Forums Home > .NET Development > Windows Communication Foundation) forum located here: (http://social.msdn.microsoft.com/Forums/en-US/wcf/threads).Answered | 1 Replies | 11195 Views | Created by DOTFrustrator - Thursday, March 26, 2009 5:02 AM | Last reply by ashawani_dubey - Wednesday, April 1, 2009 11:02 AM -
5 Votes
InvokeMethod NullReferenceException
So i will need to do an Assembly Reflection to get an instance of the class built so i can pass that instance through the InvokeMember method?Answered | 12 Replies | 4591 Views | Created by goldbishop - Tuesday, March 9, 2010 7:50 PM | Last reply by goldbishop - Wednesday, March 10, 2010 4:59 PM -
0 Votes
NullReferenceException when using DirectCast
The recursion part of this code occurs where I call the method from within itself -- and this will keep happening until the deepest children of each collection ...Answered | 5 Replies | 3580 Views | Created by PD123 - Monday, June 16, 2008 6:02 AM | Last reply by PD123 - Wednesday, June 18, 2008 8:53 PM -
1 Votes
Calling methods when using Generics
So when you would have to box and unbox multiple times, just explicitly box once and handle the wrapper.Answered | 11 Replies | 1210 Views | Created by WarrickFitzs - Friday, February 8, 2013 3:15 PM | Last reply by WarrickFitzs - Monday, February 11, 2013 8:31 PM -
1 Votes
Reflection and methods inside a dll class
You're seeing these, as well, since your class (implicitly) defines these methods (since it inherits from Object).Answered | 2 Replies | 2488 Views | Created by RobbKirk - Wednesday, July 29, 2009 5:34 PM | Last reply by RobbKirk - Wednesday, July 29, 2009 5:40 PM -
0 Votes
[VS2012] NullReferenceException when using args (command line application in c#)
When the first is thrown, no other can be thrown.Answered | 6 Replies | 3674 Views | Created by Inuyasha22 - Monday, July 8, 2013 12:08 AM | Last reply by Christopher84 - Tuesday, July 9, 2013 8:49 AM -
0 Votes
Invoke properties class and pass it to method using Reflection
The param object is the one which contains the method parameters.Answered | 6 Replies | 1854 Views | Created by Roopesh Kumar - Wednesday, May 16, 2012 8:09 PM | Last reply by Roopesh Kumar - Wednesday, May 16, 2012 9:33 PM -
1 Votes
Trying to call a method via reflection - and failing
BTW, can't use DbDataSourceEnumerator cast because I need a DB2 only signiture of GetDataSources(string, string, string, string) - it returns all databases on a specified server.Answered | 2 Replies | 4673 Views | Created by DavidThielen - Thursday, October 28, 2010 12:25 AM | Last reply by DavidThielen - Thursday, October 28, 2010 2:47 PM -
3 Votes
NullReferenceException
I am going to work on this a bit more but will post a call stack if the exception continues.Answered | 10 Replies | 1346 Views | Created by Hessc - Saturday, February 9, 2013 4:35 PM | Last reply by Hessc - Tuesday, February 12, 2013 12:11 AM -
0 Votes
Failure of second call to dll by the reflection
Are you sure Start method is something that can be called twice?Answered | 1 Replies | 2114 Views | Created by Pankneo84 - Friday, December 7, 2012 5:06 AM | Last reply by MasaSam - Friday, December 7, 2012 7:22 PM -
0 Votes
Call Coded UI methods without adding references and with usage of Reflection
Hi vipin84, According to your description, you want to know what version of Visual Studio is installed on machine through reflecting the assembly.Answered | 1 Replies | 471 Views | Created by vipin84 - Wednesday, September 7, 2016 10:34 AM | Last reply by Oscar_Wu - Thursday, September 8, 2016 6:52 AM -
0 Votes
Method duplication - case for generics, reflection, or combination?
I'd use a Generic method along with Interfaces.Answered | 6 Replies | 1777 Views | Created by can_thing_beat_hulk - Thursday, August 30, 2012 1:44 PM | Last reply by BonnieB - Wednesday, September 5, 2012 3:44 PM -
0 Votes
Customizing Reflected Information and Call Interception
I've only ever seen TypeDelegator used with ITypeDiscoveryService: ...Answered | 4 Replies | 3831 Views | Created by NTDeveloper - Friday, February 19, 2010 4:28 PM | Last reply by Stephen Cleary - Saturday, February 20, 2010 9:51 AM -
1 Votes
running known method without using reflection
If the objects implement an Interface, then cast them to the Interface type and execute the method: if ( obj is ISomeInterface ) { ...Answered | 2 Replies | 1516 Views | Created by ErezZ - Tuesday, July 24, 2012 1:29 PM | Last reply by Phill W. _ - Wednesday, July 25, 2012 4:19 PM -
1 Votes
Strange behavior using reflection
In line 6, on SetValue method, the first parameter should be changed for the object that holds the reflected property.Answered | 4 Replies | 1514 Views | Created by lemeridas - Wednesday, October 31, 2012 5:28 PM | Last reply by lemeridas - Friday, November 2, 2012 1:16 PM -
0 Votes
Random NullReferenceExceptions at OpenWebInternal
When you need to get a list reference, use "using SPSite site = new SPSite(my_copy_of_the_website_address){ using SPWeb web = site.openweb() /* gets a ...Answered | 10 Replies | 14897 Views | Created by Noll - Friday, July 25, 2008 1:18 PM | Last reply by Rama._ - Thursday, January 8, 2009 6:09 PM - Items 1 to 20 of 3774109 Next ›
No announcements