Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Detecting the creation of an object
Message
De
24/02/2004 15:52:03
 
 
À
24/02/2004 15:41:15
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00880446
Message ID:
00880463
Vues:
27
>>Can't you just test if loContext is nothing?
>
>Do you have a small sample on that one?

Michel,

You forgot to instantiate the object. Here's the correct code (plus the checking for nothing if you still want to do that):
Dim loContext As SoapContext
loContext = New SoapContext()
If Not (loContext Is Nothing) Then
   loContext = HttpSoapContext.ResponseContext
End If
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform