JAMS.Activities.HDInsight Namespace > HttpExtensions Class : PostAsXmlWithSerializerAsync<T> Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Shared Function PostAsXmlWithSerializerAsync(Of T)( _ ByVal client As System.Net.Http.HttpClient, _ ByVal requestUri As System.String, _ ByVal value As T _ ) As System.Threading.Tasks.Task(Of HttpResponseMessage)
'Usage
Dim client As System.Net.Http.HttpClient Dim requestUri As System.String Dim value As T Dim value As System.Threading.Tasks.Task(Of HttpResponseMessage) value = HttpExtensions.PostAsXmlWithSerializerAsync(Of T)(client, requestUri, value)
[System.Runtime.CompilerServices.Extension()] public static System.Threading.Tasks.Task<HttpResponseMessage> PostAsXmlWithSerializerAsync<T>( System.Net.Http.HttpClient client, System.string requestUri, T value )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2