Click here to Skip to main content
15,914,222 members
Home / Discussions / C#
   

C#

 
GeneralRe: on c# delegates Pin
Serge Lobko-Lobanovsky14-Jun-04 2:11
Serge Lobko-Lobanovsky14-Jun-04 2:11 
GeneralRe: on c# delegates Pin
Heath Stewart14-Jun-04 4:05
protectorHeath Stewart14-Jun-04 4:05 
GeneralProblem with System namespace Pin
Azghar Hussain13-Jun-04 22:25
professionalAzghar Hussain13-Jun-04 22:25 
GeneralRe: Problem with System namespace Pin
Stefan Troschuetz13-Jun-04 22:32
Stefan Troschuetz13-Jun-04 22:32 
GeneralTreeView with Backgroung Image Pin
yonitgil13-Jun-04 22:14
yonitgil13-Jun-04 22:14 
GeneralRe: TreeView with Backgroung Image Pin
Heath Stewart14-Jun-04 4:01
protectorHeath Stewart14-Jun-04 4:01 
GeneralCan't use System.Version in webservice method Pin
Jan R Hansen13-Jun-04 21:37
Jan R Hansen13-Jun-04 21:37 
GeneralRe: Can't use System.Version in webservice method Pin
Heath Stewart14-Jun-04 3:51
protectorHeath Stewart14-Jun-04 3:51 
There's nothing wrong with that namespace - it your project's root namespace plus the namespace you configured for the Web Reference when you added it, plus the class name (Version).

No, not just any type can be used in an XML Web Service, not without some extra support. Remember that XML Web Services are not .NET-specific, and other platforms won't have a System.Version, mscorlib type, though they will have the primatives that .NET has as well.

So you either have to declare it as a string and document what that parameter should contain (typically the best way), or declare a simple struct that can be reflected in WSDL. This ensures that other platforms can use your version struct (or class, if you'd like, but a struct would probably be better, also seeing as Version itself is a struct).

 

Microsoft MVP, Visual C#
My Articles
GeneralRe: Can't use System.Version in webservice method Pin
Jan R Hansen14-Jun-04 4:35
Jan R Hansen14-Jun-04 4:35 
GeneralRe: Can't use System.Version in webservice method Pin
Heath Stewart14-Jun-04 4:44
protectorHeath Stewart14-Jun-04 4:44 
GeneralInterop and Collections Pin
ddcs13-Jun-04 21:00
ddcs13-Jun-04 21:00 
Generalsetup project Pin
Dpriya13-Jun-04 20:46
Dpriya13-Jun-04 20:46 
GeneralRe: setup project Pin
The_Soul_Of_Rock13-Jun-04 21:11
The_Soul_Of_Rock13-Jun-04 21:11 
GeneralRe: setup project Pin
Dpriya14-Jun-04 1:17
Dpriya14-Jun-04 1:17 
GeneralRe: setup project Pin
Serge Lobko-Lobanovsky14-Jun-04 2:17
Serge Lobko-Lobanovsky14-Jun-04 2:17 
GeneralRe: setup project Pin
Heath Stewart14-Jun-04 3:35
protectorHeath Stewart14-Jun-04 3:35 
QuestionHow can I initialize tapiFax in C# Pin
GuruVN13-Jun-04 19:24
GuruVN13-Jun-04 19:24 
GeneralDataGridBoolColumn Pin
quocbao13-Jun-04 15:22
quocbao13-Jun-04 15:22 
GeneralRe: DataGridBoolColumn Pin
DougW4813-Jun-04 17:17
DougW4813-Jun-04 17:17 
GeneralRe: DataGridBoolColumn Pin
Heath Stewart13-Jun-04 18:47
protectorHeath Stewart13-Jun-04 18:47 
GeneralRe: DataGridBoolColumn Pin
DougW4814-Jun-04 9:22
DougW4814-Jun-04 9:22 
GeneralRe: DataGridBoolColumn Pin
Heath Stewart13-Jun-04 18:54
protectorHeath Stewart13-Jun-04 18:54 
Generalhelp about print Pin
ggl16513-Jun-04 15:01
ggl16513-Jun-04 15:01 
GeneralAttachment Database Pin
The_Soul_Of_Rock13-Jun-04 14:31
The_Soul_Of_Rock13-Jun-04 14:31 
GeneralRe: Attachment Database Pin
Heath Stewart13-Jun-04 18:45
protectorHeath Stewart13-Jun-04 18:45 

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.