ContextMessageProperty.TryCreateFromHttpCookieHeader Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to instantiate a ContextMessageProperty from the key/value pairs of a specified HTTP cookie.
public:
static bool TryCreateFromHttpCookieHeader(System::String ^ httpCookieHeader, [Runtime::InteropServices::Out] System::ServiceModel::Channels::ContextMessageProperty ^ % context);
public static bool TryCreateFromHttpCookieHeader (string httpCookieHeader, out System.ServiceModel.Channels.ContextMessageProperty context);
static member TryCreateFromHttpCookieHeader : string * ContextMessageProperty -> bool
Public Shared Function TryCreateFromHttpCookieHeader (httpCookieHeader As String, ByRef context As ContextMessageProperty) As Boolean
Parameters
- httpCookieHeader
- String
The name of the HTTP cookie header from which the context
property values are to be initialized.
- context
- ContextMessageProperty
When this method returns true
, context
contains a ContextMessageProperty that contains the ContextMessageProperty
that is associated with the httpCookieHeader
. This parameter is passed uninitialized.
Returns
true
when a value for the ContextMessageProperty
is obtained from the httpCookieHeader
; otherwise, false
.
Exceptions
httpCookieHeader
is null
.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για