共用方式為


IServiceRemotingResponseMessageHeader.TryGetHeaderValue Method

Definition

Gets the header with the specified name.

public bool TryGetHeaderValue (string headerName, out byte[] headerValue);
abstract member TryGetHeaderValue : string * Byte[] -> bool
Public Function TryGetHeaderValue (headerName As String, ByRef headerValue As Byte()) As Boolean

Parameters

headerName
String

The header Name.

headerValue
Byte[]

The header value.

Returns

true if a header with that name exists; otherwise, false.

Applies to