If a class 'Author' has a properrty 'Name', in J# you would access the
property as
Author at = new Author();
at.set_Name("John");
System.out.println(at.get_Name());
Note that, this is different from how you would access the same property in
C#, similar to what you have done below.
Thank you,
Diganta Roy
Microsoft Visual J# .NET Product Team
--------------------
[quoted text, click to view] >Thread-Topic: 'System.Net.SslClientStream' does not contain a definition
for 'ServerCertValidationCallback'
>thread-index: AcQ4AcC9QZUkboywSiSgTi4r0obsiQ==
>X-WN-Post: microsoft.public.dotnet.vjsharp
>From: =?Utf-8?B?TWFuaXNoYSBBZ2Fyd2Fs?=
<anonymous@discussions.microsoft.com>
>Subject: 'System.Net.SslClientStream' does not contain a definition for
'ServerCertValidationCallback'
>Date: Wed, 12 May 2004 02:16:05 -0700
>Lines: 10
>Message-ID: <5392E54B-ACD5-4393-B23B-A60F8D4BA21D@microsoft.com>
>MIME-Version: 1.0
>Content-Type: text/plain;
> charset="Utf-8"
>Content-Transfer-Encoding: 7bit
>X-Newsreader: Microsoft CDO for Windows 2000
>Content-Class: urn:content-classes:message
>Importance: normal
>Priority: normal
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
>Newsgroups: microsoft.public.dotnet.vjsharp
>Path: cpmsftngxa10.phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.vjsharp:6024
>NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
>X-Tomcat-NG: microsoft.public.dotnet.vjsharp
>
>Hello
Can anyone tell me why do i get " 'System.Net.SslClientStream' does not
contain a definition for 'ServerCertValidationCallback' " whenever i try to
execute my c# code which contains a class having an member
variable of type "SslClientStream" and trying to set its
"ServerCertValidationCallback" property like given example :
SslClientStream sslStream ;
sslStream.ServerCertValidationCallback = 'something';
Thank you
Manisha
[quoted text, click to view] >