Base:
method
ToString
System.Object.ToString()
63 references to ToString
System.IdentityModel (6)
System\IdentityModel\Tokens\SessionSecurityToken.cs (2)
731
XmlUtil.WriteElementStringAsUniqueId(dicWriter, dictionary.ContextId, dictionary.EmptyString, this.ContextId.
ToString
());
747
XmlUtil.WriteElementStringAsUniqueId(dicWriter, dictionary.KeyGeneration, dictionary.EmptyString, this.KeyGeneration.
ToString
());
System\IdentityModel\Tokens\SessionSecurityTokenCacheKey.cs (2)
191
sb.Append(this.contextId.
ToString
());
195
sb.Append(this.keyGeneration.
ToString
());
System\IdentityModel\Tokens\SessionSecurityTokenHandler.cs (2)
398
if (contextId == null || string.IsNullOrEmpty(contextId.
ToString
()))
793
dicWriter.WriteElementString(contextIdElementName, ns, sessionToken.ContextId.
ToString
());
System.Runtime.Serialization (7)
System\Xml\UniqueID.cs (3)
361
return id1.
ToString
() == id2.
ToString
();
383
return
ToString
().GetHashCode();
System\Xml\XmlBinaryWriter.cs (1)
853
WriteText(value.
ToString
());
System\Xml\XmlConverter.cs (1)
420
static public string ToString(UniqueId value) { return value.
ToString
(); }
System\Xml\XmlDictionaryWriter.cs (1)
714
WriteString(value.
ToString
());
System\Xml\XmlUTF8TextWriter.cs (1)
688
WriteEscapedText(value.
ToString
());
System.ServiceModel (20)
System\ServiceModel\Channels\ChannelReliableSession.cs (1)
68
return sequenceId.
ToString
();
System\ServiceModel\Channels\MsmqDiagnostics.cs (1)
226
{ "WCFMessageId", indigoId.
ToString
() }
System\ServiceModel\Channels\PeerHelpers.cs (1)
976
return new PeerDictionaryHeader(XD.AddressingDictionary.MessageId, XD.PeerWireStringsDictionary.Namespace, messageId.
ToString
());
System\ServiceModel\Diagnostics\MessageLogTraceRecord.cs (1)
288
dictionaryWriter.WriteElementString(AddressingStrings.MessageId, addressingProperty.MessageId.
ToString
());
System\ServiceModel\Diagnostics\SecurityTraceRecordHelper.cs (3)
577
xml.WriteElementString("ContextId", token.ContextId.
ToString
());
580
xml.WriteElementString("KeyGeneration", token.KeyGeneration.
ToString
());
914
xml.WriteElementString("MessageId", id.
ToString
());
System\ServiceModel\Diagnostics\WsrmTraceRecord.cs (2)
28
writer.WriteString(id.
ToString
());
46
writer.WriteString(id.
ToString
());
System\ServiceModel\Dispatcher\XPathMessageContext.cs (2)
773
id = uid.
ToString
();
789
return id.
ToString
();
System\ServiceModel\Security\SecurityContextTokenCache.cs (4)
64
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SecurityContextExpired, token.ContextId, token.KeyGeneration.
ToString
()));
72
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument(SR.GetString(SR.SecurityContextKeyExpired, token.ContextId, token.KeyGeneration.
ToString
()));
84
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ContextAlreadyRegistered, token.ContextId, token.KeyGeneration.
ToString
())));
130
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ContextNotPresent, contextId, generation.
ToString
())));
System\ServiceModel\Security\SecuritySessionClientSettings.cs (2)
997
return (skiClause.ContextId.
ToString
() == this.SessionId);
2765
return this.sessionId.
ToString
();
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
2516
return this.securityContextTokenId.
ToString
();
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenAuthenticator.cs (1)
39
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new SecurityContextTokenValidationException(SR.GetString(SR.SecurityContextExpired, contextId, sct.KeyGeneration == null ? "none" : sct.KeyGeneration.
ToString
())));
System\ServiceModel\Security\WrappedTokenCache.cs (1)
157
throw DiagnosticUtility.ExceptionUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID4285, sessionToken.ContextId.
ToString
()));
System.ServiceModel.Channels (1)
System\ServiceModel\Channels\UdpChannelBase.cs (1)
282
messageIdString = string.Format(CultureInfo.CurrentCulture, "'{0}' ", message.Headers.MessageId.
ToString
());
System.ServiceModel.Discovery (28)
System\ServiceModel\Discovery\ByeOperationAsyncResult.cs (2)
86
TD.DuplicateDiscoveryMessage(eventTraceActivity, ProtocolStrings.TracingStrings.Bye, messageId.
ToString
());
99
TD.DiscoveryMessageWithInvalidContent(eventTraceActivity, ProtocolStrings.TracingStrings.Bye, messageId.
ToString
());
System\ServiceModel\Discovery\DiscoveryClient.cs (11)
571
operationContext.IncomingMessageHeaders.MessageId.
ToString
());
585
operationContext.IncomingMessageHeaders.MessageId.
ToString
(),
586
relatesTo.
ToString
(),
624
operationContext.IncomingMessageHeaders.MessageId.
ToString
(),
653
operationContext.IncomingMessageHeaders.MessageId.
ToString
());
667
operationContext.IncomingMessageHeaders.MessageId.
ToString
(),
668
relatesTo.
ToString
(),
691
operationContext.IncomingMessageHeaders.MessageId.
ToString
(),
720
operationContext.IncomingMessageHeaders.MessageId.
ToString
());
734
operationContext.IncomingMessageHeaders.MessageId.
ToString
(),
735
relatesTo.
ToString
(),
System\ServiceModel\Discovery\DiscoveryService.cs (1)
284
TD.DiscoveryMessageWithNullReplyTo(eventTraceActivity, context.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\HelloOperationAsyncResult.cs (2)
85
TD.DuplicateDiscoveryMessage(eventTraceActivity, ProtocolStrings.TracingStrings.Hello, messageId.
ToString
());
98
TD.DiscoveryMessageWithInvalidContent(eventTraceActivity, ProtocolStrings.TracingStrings.Hello, messageId.
ToString
());
System\ServiceModel\Discovery\ProbeDuplexAsyncResult.cs (1)
267
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\ProbeRequestResponseAsyncResult.cs (1)
111
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\ResolveDuplexAsyncResult.cs (1)
237
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\ResolveRequestResponseAsyncResult.cs (1)
109
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\UdpDiscoveryMessageFilter.cs (1)
63
TD.DiscoveryMessageWithInvalidReplyTo(eventTraceActivity, message.Headers.MessageId.
ToString
());
System\ServiceModel\Discovery\Version11\DiscoveryInnerClientAdhoc11.cs (3)
133
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
161
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
189
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\VersionApril2005\DiscoveryInnerClientApril2005.cs (1)
170
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System\ServiceModel\Discovery\VersionCD1\DiscoveryInnerClientAdhocCD1.cs (3)
133
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
161
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
188
OperationContext.Current.IncomingMessageHeaders.MessageId.
ToString
());
System.ServiceModel.Routing (1)
System\ServiceModel\Routing\MessageRpc.cs (1)
120
this.uniqueID = this.originalMessage.Headers.MessageId.
ToString
();