ExternalResourceService.TranslateStreamUri Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
When overridden in a derived class, translates a local URI back to its original URI.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function TranslateStreamUri ( _
streamUri As Uri _
) As Uri
public abstract Uri TranslateStreamUri(
Uri streamUri
)
public:
virtual Uri^ TranslateStreamUri(
Uri^ streamUri
) abstract
abstract TranslateStreamUri :
streamUri:Uri -> Uri
public abstract function TranslateStreamUri(
streamUri : Uri
) : Uri
Parameters
- streamUri
Type: System.Uri
The URI to translate.
Return Value
Type: System.Uri
The URI that corresponds with streamUri.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | streamUri is nulla null reference (Nothing in Visual Basic). |
Remarks
If the specified URI is not a local URI, the original is returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace