SoapAnyUri Constructor (String)

 

Initializes a new instance of the SoapAnyUri class with the specified URI.

Namespace:   System.Runtime.Remoting.Metadata.W3cXsd2001
Assembly:  mscorlib (in mscorlib.dll)

public SoapAnyUri(
	string value
)

Parameters

value
Type: System.String

A String that contains a URI.

The following code example shows how to use this constructor.

// Create a SoapAnyUri object.
string anyUriValue = "http://localhost:8080/WebService"; 
SoapAnyUri anyUri = new SoapAnyUri(anyUriValue);
Console.WriteLine(
    "The value of the SoapAnyUri object is {0}.", 
    anyUri.ToString());

.NET Framework
Available since 1.1
Return to top
Show: