XmlUrlResolver.GetEntityAsync(Uri, String, Type) XmlUrlResolver.GetEntityAsync(Uri, String, Type) XmlUrlResolver.GetEntityAsync(Uri, String, Type) XmlUrlResolver.GetEntityAsync(Uri, String, Type) Method

Definición

Asigna asincrónicamente un identificador URI a un objeto que contiene el recurso real.Asynchronously maps a URI to an object that contains the actual resource.

public:
 override System::Threading::Tasks::Task<System::Object ^> ^ GetEntityAsync(Uri ^ absoluteUri, System::String ^ role, Type ^ ofObjectToReturn);
public override System.Threading.Tasks.Task<object> GetEntityAsync (Uri absoluteUri, string role, Type ofObjectToReturn);
override this.GetEntityAsync : Uri * string * Type -> System.Threading.Tasks.Task<obj>
Public Overrides Function GetEntityAsync (absoluteUri As Uri, role As String, ofObjectToReturn As Type) As Task(Of Object)

Parámetros

absoluteUri
Uri Uri Uri Uri

Identificador URI devuelto desde ResolveUri(Uri, String).The URI returned from ResolveUri(Uri, String).

role
String String String String

No se usa actualmente.Currently not used.

ofObjectToReturn
Type Type Type Type

Tipo de objeto que se va a devolver.The type of object to return. La implementación actual sólo devuelve objetos Stream.The current implementation only returns Stream objects.

Devoluciones

Objeto de flujo o null si se especifica un tipo que no sea un flujo.A stream object or null if a type other than stream is specified.

Se aplica a